shithub: scc

ref: c56a7fd3e9ff59442c90189030421c2c0a3aad20
dir: /lib/c/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;
}