shithub: scc

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