Return to test-strcasestr.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / test-strcasestr.c (download)
Revision 1.1, Tue Dec 31 23:03:47 2013 UTC (10 years, 4 months ago) by schwarze
Provide strcasestr(3) and strsep(3) for Solaris 10 compat; reported missing by Matthias Scheler <tron at NetBSD> via wiz@. |
#include <string.h> int main(void) { const char *big = "BigString"; char *cp = strcasestr(big, "Gst"); return(big + 2 != cp); }