shithub: scc

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