mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-19 21:32:34 +03:00
12 lines
119 B
C
12 lines
119 B
C
|
int strlen(const char* string)
|
||
|
{
|
||
|
int i;
|
||
|
i=0;
|
||
|
while (*string!='\0')
|
||
|
{
|
||
|
i++;
|
||
|
string++;
|
||
|
}
|
||
|
return i;
|
||
|
}
|