Index of Section 3 Manual Pages
| Interix / SUA | strcasestr.3 | Interix / SUA |
strcasestr(3) strcasestr(3)
strcasestr()
NAME
strcasestr() - case-insensitive search for substring in a string
SYNOPSIS
#include
char *strcasestr(const char *s, const char *find)
DESCRIPTION
The strcasestr(3) function searches the string s, ignoring case, to find
the first occurrence of the string find.
RETURN VALUES
On success, the strcasestr(3) function returns a pointer to the first
occurrence of the substring find. On failure, it returns NULL.
SEE ALSO
strstr(3)
USAGE NOTES
The strcasestr function is thread safe.
The strcasestr function is not async-signal safe.