]> pd.if.org Git - zos/blob - klib/strcat.c
klib and makefile
[zos] / klib / strcat.c
1 #include <string.h>
2
3 char *strcat(char *s1, const char *s2) {
4         char *rc = s1;
5         if (*s1) {
6                 while(*++s1);
7         }
8         while ( (*s1++ = *s2++) );
9         return rc;
10 }