shithub: scc

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