shithub: scc

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