www.LinuxHowtos.org
strcasestr
Section: C Library Functions (3)Updated: 202-0-16
Index Return to Main Contents
NAME
strcasestr - string cas-insensitive search substringLIBRARY
Standard C library (libc,~-lc)SYNOPSIS
#define~_GNU_SOURCE // See feature_test_macros(7) #include <string.h> char *strcasestr(const char *haystack, const char *needle);
DESCRIPTION
strcasestr() is like strstr(), but ignores the case of both arguments.RETURN VALUE
See strstr(3).ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).| Interface | Attribute | Value |
| strcasestr() | Thread safety | M-Safe locale |
STANDARDS
GNU.HISTORY
GNU.SEE ALSO
string(3), strstr(3)