shithub: scc

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