4.4BSD/usr/share/man/cat3/strstr.0

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

STRSTR(3)                   BSD Programmer's Manual                  STRSTR(3)

NNAAMMEE
     ssttrrssttrr - locate a substring in a string

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

     _c_h_a_r _*
     ssttrrssttrr(_c_o_n_s_t _c_h_a_r _*_b_i_g, _c_o_n_s_t _c_h_a_r _*_l_i_t_t_l_e);

DDEESSCCRRIIPPTTIIOONN
     The ssttrrssttrr() function 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
     The ssttrrssttrr() function conforms to ANSI C X3.159-1989 (``ANSI C '').

4.4BSD                           June 4, 1993                                1