shithub: scc

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