shithub: scc

ref: 3d3ef19b6beb4639c7471dde143b06500bf8568f
dir: /lib/c/src/strlen.c/

View raw version
#include <string.h>
#undef strlen

size_t
strlen(const char *s)
{
	const char *t;

	for (t = s; *t; ++t)
		/* nothing */;
	return t - s;
}