kolibrios-fun/programs/develop/ktcc/trunk/libc/string/strcpy.c

10 lines
161 B
C
Raw Normal View History

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