shithub: scc

ref: 2974c0654f4634a58fb6d6d588dd4eebd143a383
dir: /src/libc/string/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;
}