shithub: scc

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