kolibrios-fun/programs/develop/ktcc/trunk/libc/string/strlen.c

8 lines
91 B
C
Raw Normal View History

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