From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Mon, 2 Jul 2001 09:30:30 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: v2loadimage proxy rev 3 Message-ID: <3B403F36.24229.393EF@localhost> References: <3B3F5BE9 DOT 21153 DOT 2517F9 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > This is fine, but where is __strnlen? Is this some new function in > the current CVS? I don't see it. Sorry about that. It's a function I added. It's definition: static inline unsigned char __strnlen(const char *str, size_t max) { const char *ptr = str; while (*ptr && (ptr - str) < max) ++ptr; return ptr - str; }