shithub: scc

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