shithub: scc

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