Date: Mon, 9 Mar 1998 16:58:10 +0200 (IST) From: Eli Zaretskii To: Vik Heyndrickx cc: djgpp-workers AT delorie DOT com Subject: Re: errno constants in In-Reply-To: <3503BEB1.6745@rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 9 Mar 1998, Vik Heyndrickx wrote: > The real problem start when DOS functions are called in the libc > routines. DOS extended error codes are in many cases precise enough to > decide what EXACTLY went wrong, but the way it is current implemented (D > ->U translated error codes) often make loose a lot of this information. Other DOS compilers have a global variable called `_dos_errno' or some such, which just holds the value of the last DOS error returned. How about adding this to DJGPP?