shithub: scc

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