shithub: scc

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