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