shithub: scc

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