Update makefile
[lunaix-os.git] / lunaix-os / libs / libc / string / strlen.c
1 #include <libc/string.h>
2
3 size_t
4 strlen(const char* str)
5 {
6     size_t len = 0;
7     while (str[len])
8         len++;
9     return len;
10 }