shithub: scc

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