shithub: scc

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