ref: a901b27da57ae3df5a05f29b958104a55a10282b dir: /src/libc/string/strlen.c/
#include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) ; return t - s; }