1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
11 const char * strchr( const char * s, int c ) { /* TODO */ };
12 char * strchr( char * s, int c ) { /* TODO */ };
14 // ----------------------------------------------------------------------------
17 char * strchr( const char * s, int c ) { /* TODO */ };
19 /* PDPC code - unreviewed
23 if (*s == (char)c) return ((char *)s);