Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Mon, 9 Mar 1998 13:15:35 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: errno constants in References: <3503BEB1 DOT 6745 AT rug DOT ac DOT be> In-reply-to: Precedence: bulk Eli Zaretskii wrote: > 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? It sounds better than having an errno too different than the UNIX one. And perhaps (if no so much overhead is involved) we can even have both errno styles selectable through some variable. I mean a variable to select if we will use translated or not values of errno. What about that? SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013