shithub: scc

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