[BACK]Return to test-strcasestr.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/test-strcasestr.c, Revision 1.2

1.2     ! schwarze    1: #if defined(__linux__) || defined(__MINT__)
        !             2: # define _GNU_SOURCE /* strcasestr() */
        !             3: #endif
        !             4:
1.1       schwarze    5: #include <string.h>
                      6:
                      7: int
                      8: main(void)
                      9: {
                     10:        const char *big = "BigString";
                     11:        char *cp = strcasestr(big, "Gst");
                     12:        return(big + 2 != cp);
                     13: }

CVSweb