shithub: scc

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