shithub: scc

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