shithub: scc

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