shithub: scc

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