shithub: scc

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