shithub: scc

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