kolibrios/programs/develop/metcc/trunk/libc/string/strlen.c

12 lines
119 B
C
Raw Normal View History

int strlen(const char* string)
{
int i;
i=0;
while (*string!='\0')
{
i++;
string++;
}
return i;
}