shithub: scc

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