shithub: scc

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