shithub: scc

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