_hardresume
raw OCR
Hardware error handler.
Defined in header <dos.h>
Syntax
#include <dos.h>
void _hardresume(int rescode);
Portability
| DOS | UNIX | Windows | ANSI C | C++ only |
|---|---|---|---|---|
| ■ |
Remarks
The error handler established by _harderr can call _hardresume to return to DOS. The return value of the rescode (result code) of _hardresume contains one of the following values:
| _HARDERR_ABORT | Abort the program by invoking DOS interrupt 0x23, the control-break interrupt. |
| _HARDERR_IGNORE | Ignore the error. |
| _HARDERR_RETRY | Retry the operation. |
| _HARDERR_FAIL | Fail the operation. |
Return value
The _hardresume function does not return a value, and does not return to the caller.
See also
Example
See the example for _harderr.
Differences from modern implementations
Nothing recorded yet.
Modern references
These are search links, not yet checked by hand.
Extraction notes
- heading `hardresume` read as `_hardresume`
Stable link: /3.1/dos.h/_hardresume/
· short form /3.1/_hardresume/