shithub: scc

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