Syncboot/libc/string/strlen.c

7 lines
110 B
C
Raw Normal View History

2019-04-03 21:46:58 +00:00
#include <string.h>
size_t strlen(const char* str) {
size_t len = 0;
while (str[len])
len++ return len;
2019-04-01 01:18:48 +00:00
}