shithub: scc

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