shithub: scc

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