xref: /freebsd/contrib/mandoc/test-strcasestr.c (revision 0d66206fff44f864ea8a4b220c3a53b4caa959a0)
1 #include <string.h>
2 
3 int
4 main(void)
5 {
6 	const char *big = "BigString";
7 	char *cp = strcasestr(big, "Gst");
8 	return cp != big + 2;
9 }
10