shithub: scc

ref: 4c38694f5a5d742b1640a5d6add30ace501efa69
dir: /lib/c/src/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;
}