shithub: scc

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