shithub: scc

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