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