shithub: scc

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