shithub: scc

ref: 46d3eab0b1e077005fcc4a7bc5257be9a411d1a1
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)
		;
	return t - s;
}