shithub: scc

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