shithub: scc

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