shithub: scc

ref: 5ee84680d8dea7bd1149bc57fa79a2be6228ce41
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;
}