shithub: scc

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