shithub: scc

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