shithub: scc

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