shithub: scc

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