ref: 25e676d87fef3efa5cd4101ce7f955f477564cfc 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; }