forked from KolibriOS/kolibrios
libc testsuite + fixes
git-svn-id: svn://kolibrios.org@6433 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
char* strcpy(char* strDest,char* strSource)
|
||||
#include <string.h>
|
||||
|
||||
char* strcpy(char* strDest,const char* strSource)
|
||||
{
|
||||
char* res;
|
||||
res=strDest;
|
||||
while(*strDest++ = *strSource++) ;
|
||||
return res;
|
||||
}
|
||||
while((*strDest++ = *strSource++)) ;
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user