shithub: scc

ref: 27e13dac39adc371f8bdf5f36e3bb3962aaea004
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;
}