kolibrios/programs/develop/ktcc/trunk/libc/string/strcat.c

11 lines
193 B
C
Raw Normal View History

#include <string.h>
char* strcat(char* strDest, const char* strSource)
{
char* res;
res=strDest;
while (*strDest) strDest++;
while ((*strDest++ = *strSource++)) ;
return res;
}