shithub: scc

ref: 67d90c41c1d5ef13d67cc0a3ce2bd7de1cc53037
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;
}