shithub: scc

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