shithub: scc

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