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