shithub: scc

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