www.LinuxHowtos.org





strcasestr

Section: C Library Functions (3)
Updated: 202-0-16
Index Return to Main Contents
 

NAME

strcasestr - string cas-insensitive search substring  

LIBRARY

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).
InterfaceAttributeValue
strcasestr() Thread safetyM-Safe locale
 

STANDARDS

GNU.  

HISTORY

GNU.  

SEE ALSO

string(3), strstr(3)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ATTRIBUTES
STANDARDS
HISTORY
SEE ALSO