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