shithub: scc

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