4.3BSD-Reno/share/man/cat3/strstr.0

Compare this file to the similar file:
Show the results in this format:




STRSTR(3)		      1990			STRSTR(3)



NNAAMMEE
     strstr - locate a substring in a string

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttrriinngg..hh>>

     cchhaarr **
     ssttrrssttrr((ccoonnsstt cchhaarr **bbiigg,, ccoonnsstt cchhaarr **lliittttllee));;

DDEESSCCRRIIPPTTIIOONN
     SSttrrssttrr locates the first occurrence of the null-terminated
     string _l_i_t_t_l_e in the null-terminated string _b_i_g.  If _l_i_t_t_l_e
     is the empty string, ssttrrssttrr returns _b_i_g; if _l_i_t_t_l_e occurs
     nowhere in _b_i_g, ssttrrssttrr returns NULL; otherwise ssttrrssttrr
     returns a pointer to the first character of the first
     occurrence of _l_i_t_t_l_e.

SSEEEE AALLSSOO
     index(3), memchr(3), rindex(3), strchr(3), strcspn(3),
     strpbrk(3), strrchr(3), strsep(3), strspn(3), strtok(3)

SSTTAANNDDAARRDDSS
     SSttrrssttrr conforms to ANSI X3.159-1989 (``ANSI C'').
































Printed 7/27/90                May				1