shithub: scc

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