shithub: scc

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