forked from KolibriOS/kolibrios
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;
|
||
|
}
|