shithub: scc

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