shithub: scc

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