Borland C++ reference

_hardresume

raw OCR

Hardware error handler.

Defined in header <dos.h>

Syntax

#include <dos.h>
void _hardresume(int  rescode);

Portability

DOSUNIXWindowsANSI CC++ 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_ABORTAbort the program by invoking DOS interrupt 0x23, the control-break interrupt.
_HARDERR_IGNOREIgnore the error.
_HARDERR_RETRYRetry the operation.
_HARDERR_FAILFail 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`