strcasestr()

NAME

strcasestr() - case-insensitive search for substring in a string

SYNOPSIS

#include <strings.h>

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)