shithub: scc

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