shithub: scc

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