shithub: scc

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