cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/10/18:37:24

From: pjc AT skipstone DOT com
Message-ID: <32FFCAB4.6FFD@skipstone.com>
Date: Mon, 10 Feb 1997 17:26:12 -0800
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: dpmi_error recording

Hi folks
I am trying to get access to the return code in ax whenever a
dpmi function call fails. Particularly, when issuing
__dpmi_free_ldt_descriptor(desc)
__dpmi_free_physical_address_mapping(meminfo)

Info says if an error occurs, the return value is -1;
dpmi.h says most routines return -1 on error and set __dpmi_error = ax

I looked in \djgpp\src\libc\dpmi\api\d0000.s and d0801.s, dpmidefs.h,
etc and it looks like dpmi_error should get set...

Is this stuff in the faq???

help
phil christensen
pjc AT skipstone DOT com

- Raw text -


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