shithub: scc

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