shithub: scc

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