[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ctrlbrk() Set Control-Break Handler
#include <dos.h>
void ctrlbrk(fptr);
int (*fptr)(void); Handler function
ctrlbrk() sets a new control-break handler function pointed to by
'fptr'. The interrupt vector 0x23 is modified to call the named
function. ctrlbrk() establishes a DOS interrupt handler that calls
the named function indirectly.
The handler function may perform any number of operations and system
calls. The handler function does not have to return; it may use
longjmp() to return to any point in the program.
Returns: ctrlbrk() returns nothing. 0 is returned by the handler
function to abort the current program. Any other value
causes the program to resume execution.
See Also:
longjmp()
setjmp()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson