shithub: scc

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