shithub: scc

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