shithub: scc

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