#include <string.h> void *
Fo memmem
Fa const void *big size_t big_len
Fa const void *little size_t little_len
Fc
DESCRIPTION
The
memmem ();
function
locates the first occurrence of the byte string
Fa little
in the byte string
Fa big .
RETURN VALUES
If
Fa big_len
is smaller than
Fa little_len ,
if
Fa little_len
is 0, if
Fa big_len
is 0 or if
Fa little
occurs nowhere in
Fa big ,
NULL
is returned;
otherwise a pointer to the first character of the first occurrence of
Fa little
is returned.