To install your own abort function, use the set environment abort function function, se_abortfp():
|
se_abortfp() sets the global function pointer that Vermont Views checks on receipt of an abort key. Vermont Views will invoke this function if one is installed. is #defined in vv_sys.h as a pointer to a service interrupt routine. To avoid compiler warnings, you may need to cast your function pointer to be of type ISVRP, like this:
|
If you have installed another abort function and want to reinstall the system abort function, call:
|
Note that the system abort function is not installed by default under PCDOS or OS/2.