shithub: scc

ref: 8d68ade0bd81e9069f3ba01665c2ea46499dd1f1
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)
		/* nothing */;
	return t - s;
}