shithub: scc

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