shithub: scc

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