shithub: scc

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