shithub: scc

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