shithub: scc

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