shithub: scc

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