Subversion Repositories freemyipod

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
71 theseven 1
#include "global.h"
2
#include <string.h>
3
 
4
char *strcat(char *s1,
5
             const char *s2)
6
{
7
  char *s = s1;
8
 
9
  while (*s1)
10
    s1++;
11
 
12
  while ((*s1++ = *s2++))
13
    ;
14
  return s;
15
}