shithub: scc

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