shithub: scc

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