C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_dosexterr
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _dosexterr function obtains the extended error information
     returned by the DOS system call 0x59 and stores the values in the
     structure pointed to by <errorinfo>. This function is useful when
     making system calls with DOS versions 3.0 or later, which offer
     extended error handling.
 
     The structure type _DOSERROR is defined in DOS.H.
 
     Giving a NULL pointer argument causes _dosexterr to return the
     value in AX without filling in the structure fields.
 
     Return Value
 
     The _dosexterr function returns the value in the AX register
     (identical to the value in the exterror structure field).
                                    -♦-