shithub: scc

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