shithub: scc

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