shithub: scc

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