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 char * strtok( char * restrict s1, const char * restrict s2 ) { /* TODO */ };
10 /* PDPC code - unreviewed
12 static char *old = NULL;
17 if (s1 != NULL) old = s1;
18 if (old == NULL) return (NULL);
22 if (remain <= len) { old = NULL; return (NULL); }
26 if (remain <= len) { old = NULL; return (p); }