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 * strcpy( char * restrict s1, const char * restrict s2 ) { /* TODO */ };
10 /* Therx code - unreviewed
20 /* PDPC code - unreviewed
21 char *strcpy(char *s1, const char *s2)
25 while ((*p++ = *s2++) != '\0') ;