shithub: scc

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