shithub: scc

ref: 07c3fc899a4788187f52b99961c7ae1777201d5b
dir: /lib/c/string/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;
}