rockbox/firmware/common/strcat.c

13 lines
142 B
C
Raw Normal View History

char *strcat(char *s1,
const char *s2)
{
char *s = s1;
while (*s1)
s1++;
while ((*s1++ = *s2++))
;
return s;
}