shithub: scc

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