shithub: scc

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