shithub: scc

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