shithub: scc

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