shithub: scc

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