shithub: scc

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