shithub: scc

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