shithub: scc

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