shithub: scc

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