shithub: scc

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