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