shithub: scc

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