rockbox/firmware/common/strcat.c
Daniel Stenberg 3dc01eebb4 strcat()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1069 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 08:29:02 +00:00

12 lines
142 B
C

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