shithub: scc

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