shithub: scc

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