shithub: scc

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