www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/21/19:44:58

Date: Wed, 21 Feb 1996 20:01:31 +0100 (MET)
From: Jerry van Dijk <jerry AT jvdsys DOT nextjk DOT stuyts DOT nl>
To: DJGPP-List <djgpp AT delorie DOT com>
Subject: errno in V1 question
Message-Id: <Pine.LNX.3.91.960221195447.234A-100000@jvdsys.nextjk.stuyts.nl>
Mime-Version: 1.0

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 --
-----------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019