shithub: scc

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