shithub: scc

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