shithub: scc

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