shithub: scc

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