shithub: scc

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