shithub: scc

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