ref: 6d5cccdbfa78d757b07efa64195f49a5db7e46e1 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; }