shithub: scc

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