ref: 2808d4eb5c01837aa901cc6512f563da2d8db8ea dir: /lib/c/src/strlen.c/
#include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) /* nothing */; return t - s; }