shithub: scc

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