shithub: scc

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