shithub: scc

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