ref: 66269665be3e744d8b94b52b2aa4dcb9158ce59b 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; }