51d395d0cc
git-svn-id: svn://kolibrios.org@145 a494cfbc-eb01-0410-851d-a64ba20cac60
15 lines
203 B
C
15 lines
203 B
C
char* strcpy(char* strDest,char* strSource)
|
|
{
|
|
char* res;
|
|
res=strDest;
|
|
while(1)
|
|
{
|
|
*strDest=*strSource;
|
|
if (*strSource=='\0')
|
|
break;
|
|
strDest++;
|
|
strSource++;
|
|
}
|
|
return res;
|
|
}
|