shithub: scc

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