shithub: scc

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