STRCASESTR(3) NEWLIB STRCASESTR(3)NAME
6.17 `strcasestr'--case-insensitive character string search
SYNOPSIS
#include <string.h>
char *strcasestr(const char *S, const char *FIND);
DESCRIPTION
`strcasestr' searchs the string S for the first occurrence of the
sequence FIND. `strcasestr' is identical to `strstr' except the search
is case-insensitive.
RETURNS
A pointer to the first case-insensitive occurrence of the sequence FIND
or `NULL' if no match was found.
PORTABILITY
`strcasestr' is in the Berkeley Software Distribution.
`strcasestr' requires no supporting OS subroutines. It uses
tolower() from elsewhere in this library.
SEE ALSO
strcasestr is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 STRCASESTR(3)