OpenCBM
|
Helper function for setting a handler for Ctrl+C and Ctrl+Break. More...
Go to the source code of this file.
Macros | |
#define | DBG_USERMODE |
#define | DBG_PROGNAME "ARCH.LIB" |
Functions | |
void | arch_set_ctrlbreak_handler (ARCH_CTRLBREAK_HANDLER Handler) |
Set the Ctrl+C / Ctrl+Break handler. More... | |
#define DBG_PROGNAME "ARCH.LIB" |
The name of the executable
Definition at line 24 of file ctrlbreak.c.
#define DBG_USERMODE |
Mark: We are in user-space (for debug.h)
Definition at line 21 of file ctrlbreak.c.
void arch_set_ctrlbreak_handler | ( | ARCH_CTRLBREAK_HANDLER | Handler | ) |
Set the Ctrl+C / Ctrl+Break handler.
This function sets the Ctrl+C (Ctrl+Break) handler. This handler is a function which is called whenever Ctrl+C is pressed.
Handler | Pointer to the handler function |
Definition at line 62 of file ctrlbreak.c.