forked from Bananymous/banan-os
9 lines
112 B
C++
9 lines
112 B
C++
|
#include <string.h>
|
||
|
|
||
|
size_t strlen(const char* str)
|
||
|
{
|
||
|
size_t len = 0;
|
||
|
while (str[len])
|
||
|
len++;
|
||
|
return len;
|
||
|
}
|