shithub: scc

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