blob: 221529519cc908a75b8982e3f199949d31f203cf [file] [log] [blame]
Bertrik Sikken9c0abbf2008-04-28 20:39:44 +00001#include <string.h>
2
Daniel Stenberg3dc01ee2002-06-19 08:29:02 +00003char *strcat(char *s1,
4 const char *s2)
5{
6 char *s = s1;
7
8 while (*s1)
9 s1++;
10
11 while ((*s1++ = *s2++))
12 ;
13 return s;
14}