2014-11-22 18:08:25 +00:00
|
|
|
#if defined(__linux__) || defined(__MINT__)
|
|
|
|
# define _GNU_SOURCE /* strcasestr() */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main(void)
|
|
|
|
{
|
|
|
|
const char *big = "BigString";
|
|
|
|
char *cp = strcasestr(big, "Gst");
|
2016-01-15 23:08:59 +00:00
|
|
|
return cp != big + 2;
|
2014-11-22 18:08:25 +00:00
|
|
|
}
|