shithub: scc

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