shithub: scc

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