shithub: scc

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