shithub: scc

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