shithub: scc

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