shithub: scc

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