shithub: scc

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