shithub: scc

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