shithub: scc

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