shithub: scc

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