mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-19 05:12:45 +03:00
1391dd1d1d
"Optimised" some functions in string.h Added dynamic libraries support based on sysfunction 68.19 (experimental) git-svn-id: svn://kolibrios.org@215 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
226 B
C
14 lines
226 B
C
char* strncpy(char* strDest,const char* strSource,int count)
|
|
{
|
|
char* res;
|
|
res=strDest;
|
|
while (count>0)
|
|
{
|
|
*strDest=*strSource;
|
|
if (*strSource!='\0')
|
|
strSource++;
|
|
strDest++;
|
|
count--;
|
|
}
|
|
return res;
|
|
} |