shithub: scc

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