shithub: scc

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