shithub: scc

ref: 5ee2e8b13124750a58dc720afbc16d4d0a6f71f4
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;
}