shithub: scc

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