blob: e3366d740522c27ee614713efaf99cf78cecea4e [file] [log] [blame]
Daniel Stenberg3dc01ee2002-06-19 08:29:02 +00001char *strcat(char *s1,
2 const char *s2)
3{
4 char *s = s1;
5
6 while (*s1)
7 s1++;
8
9 while ((*s1++ = *s2++))
10 ;
11 return s;
12}