shithub: scc

ref: 1e3dd27b9b1dcd2c8f16a0f51effaade0e12c227
dir: /lib/c/src/strlen.c/

View raw version
#include <string.h>
#undef strlen

size_t
strlen(const char *s)
{
	const char *t;

	for (t = s; *t; ++t)
		/* nothing */;
	return t - s;
}