Description
The
strstr function locates the first occurrence in
the string pointed to by s1 of the
sequence of characters (excluding the terminating null
character) in the string pointed to by
s2.
Returns
The
strstr function returns a pointer to the
located string, or a null pointer if the string is not
found. If s2 points to a string
with zero length, the function returns s1.
Implementation Notes
None