freebsd-nq/contrib/mandoc/test-strcasestr.c

10 lines
131 B
C
Raw Normal View History

2014-11-22 18:08:25 +00:00
#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
}