shithub: scc

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