shithub: scc

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