shithub: scc

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