shithub: scc

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