shithub: scc

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