shithub: scc

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