16 lines
151 B
C
16 lines
151 B
C
/* append t to s
|
|
*/
|
|
char *
|
|
strcat(s, t)
|
|
register char *s, *t;
|
|
{
|
|
register char *b = s;
|
|
|
|
while (*s++)
|
|
;
|
|
s--;
|
|
while (*s++ = *t++)
|
|
;
|
|
return b;
|
|
}
|