shithub: scc

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