2016-05-19 12:15:22 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
2006-09-07 14:14:53 +00:00
|
|
|
char* strcat(char* strDest, const char* strSource)
|
|
|
|
{
|
|
|
|
char* res;
|
|
|
|
res=strDest;
|
2016-04-27 19:59:20 +00:00
|
|
|
while (*strDest) strDest++;
|
2016-05-19 12:15:22 +00:00
|
|
|
while ((*strDest++ = *strSource++)) ;
|
2006-09-07 14:14:53 +00:00
|
|
|
return res;
|
|
|
|
}
|