ref: 3e6e8f74f042a31ace6ae54247790f9a9230285a 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; }