shithub: scc

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