aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/string/strlen.c
blob: cb0467558cb3dd7393e99914966900679ce8403b (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <stdint.h>

u32 strlen(char *str)
{
	u32 len = 0;
	while (str[len])
		len++;
	return len;
}