omos-tcnj2024/sys/lib.c

13 lines
114 B
C
Raw Normal View History

2024-02-18 13:38:08 +01:00
#include <types.h>
u32
strlen(const char *str)
{
size_t i;
for (i = 0; str[i] != NULL; i++)
;
return i;
}