aboutsummaryrefslogtreecommitdiff
path: root/kernel/lib/stdlib.c
blob: 6710da2022182198283746de89cdd39fc1de82d5 (plain) (blame)
1
2
3
4
5
6
7
8
#include <stdlib.h>

size_t strlen(const char* str) {
	size_t ret = 0;
	while (str[ret] != 0)
		ret++;
	return ret;
}