shithub: scc

ref: 33b631df0ef7ee8d4a9e822bdfec5faa8777bfe7
dir: /lib/c/src/strlen.c/

View raw version
#include <string.h>
#undef strlen

size_t
strlen(const char *s)
{
	const char *t;

	for (t = s; *t; ++t)
		/* nothing */;
	return t - s;
}