shithub: scc

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