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