kernel - Fix shared lock bug in kern_mutex.c
[dragonfly.git] / contrib / mdocml / test-strcasestr.c
blob479ba9138f856f6f8a65446740211abc4db4c440
1 #if defined(__linux__) || defined(__MINT__)
2 # define _GNU_SOURCE /* strcasestr() */
3 #endif
5 #include <string.h>
7 int
8 main(void)
10 const char *big = "BigString";
11 char *cp = strcasestr(big, "Gst");
12 return(big + 2 != cp);