shithub: scc

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