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