shithub: scc

ref: 4fe7b3c5097db6b24eef3680dec682b3d552bd64
dir: /src/libc/string/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;
}