shithub: scc

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