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

15 lines
203 B
C
Raw Normal View History

char* strcpy(char* strDest,char* strSource)
{
char* res;
res=strDest;
while(1)
{
*strDest=*strSource;
if (*strSource=='\0')
break;
strDest++;
strSource++;
}
return res;
}