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