ref: b0b817261fb05f20bbeb9ab91586a2569dd7bd85
dir: /libc/src/strlen.c/
/* See LICENSE file for copyright and license details. */ #include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) /* nothing */; return t - s; }