shithub: scc

ref: 551aa2e69a72c87ff63a356d38fa3c4fe668c219
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;
}