shithub: scc

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