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