shithub: scc

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