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