shithub: scc

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