shithub: scc

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