strcpy.c (175B)
1 #include <string.h> 2 #undef strcpy 3 4 char * 5 strcpy(char * restrict dst, const char * restrict src) 6 { 7 char *ret = dst; 8 9 while (*dst++ = *src++) 10 /* nothing */; 11 return ret; 12 }
sccsimple C compiler | |
git clone git://git.2f30.org/scc | |
Log | Files | Refs | README | LICENSE |