Date: Wed, 21 Feb 1996 20:01:31 +0100 (MET) From: Jerry van Dijk To: DJGPP-List Subject: errno in V1 question Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII When looking at errno.h in 1.12m4 I noticed that a lot of DOS return codes are not mentioned there. Q1: Although not defined, will /all/ dos error codes still be returned ? Also I noticed a difference between the definitions in my DOS reference and the definitions in errno.h: Error DOS Meaning DJGPP Meaning ----- ---------------------------------------------- -------------- 0x13 Attempt to write on a write-protected diskette Invalid argument 0x15 Drive not ready Exec format error 0x20 Sharing violation EPIPE 0x21 Lock violation Math argument 0x22 Invalid disk change Result too large Q2: Are those errors returns indeed replaced by DJGPP ? If so, where have the orignal errors gone ? Or is my DOS reference wrong ? Finally: Yes, I know V2 is out there now, but since every attempt to compile GNAT (GNU Ada) for V2 has as yet failed I am still stuck at using V1 for the moment. ----------------------------------------------------------------------- -- Jerry van Dijk -- e-mail: jerry AT jvdsys DOT nextjk DOT stuyts DOT nl -- -- Banking Consultant -- Member Team-Ada -- -- Ordina Finance BV -- Located at Haarlem, The Netherlands -- ----------------------------------------------------------------------- -- I do not speak for my employer, my employer does not speak for me -- -----------------------------------------------------------------------