shithub: scc

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