#define _GNU_SOURCE #include /* strcasecmp() in POSIX */ #include /* strcasecmp() in *BSD */ int main () { char *found; const char *haystack, *needle; found = strcasestr (haystack, needle); }