shithub: scc

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