shithub: scc

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