shithub: scc

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