shithub: scc

ref: 0c6b04d3013c4dd19b64803c89e20ace6517d38b
dir: /lib/c/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;
}