shithub: scc

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