shithub: scc

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