shithub: scc

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