shithub: scc

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