BarinkOS/src/libc/include/string.c

9 lines
133 B
C
Raw Normal View History

#include "string.h"
size_t strlen(const char* str) {
size_t len = 0;
while(str[len]){
len++;
}
return len;
}