shithub: scc

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