strcat.c (185B)
1 #include <string.h> 2 #undef strcat 3 4 char * 5 strcat(char * restrict dst, const char * restrict src) 6 { 7 char *ret = dst; 8 9 while (*dst) 10 ++dst; 11 while (*dst++ = *src++) 12 ; 13 return ret; 14 }
![]() | 9osExperimental kernel using plan9 ideas for embedded device |
git clone git://git.simple-cc.org/9os | |
Log | Files | Refs | README | LICENSE |