shithub: scc

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