shithub: scc

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