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 size_t strlen( const char * s ) { /* TODO */ };
12 const char * start = s1;
21 /* PDPC code - unreviewed
26 while (*p != '\0') p++;
27 return ((size_t)(p - s));