mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 07:36:48 +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;
|
||
|
}
|