shithub: scc

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