shithub: scc

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