shithub: scc

ref: 56f48a1788a3d7e1e6ee53d58f4849c6b9b3a01c
dir: /src/libc/string/strlen.c/

View raw version
#include <string.h>

#undef strlen

size_t
strlen(const char *s)
{
	const char *t;

	for (t = s; *t; ++t)
		;
	return t - s;
}