shithub: scc

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