|
C-Menu 0.2.9
A User Interface Toolkit
|
signal handling for interrupt signals More...
#include <cm.h>#include <execinfo.h>#include <signal.h>#include <stdbool.h>#include <stdlib.h>#include <string.h>#include <termios.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | MAX_FRAMES 64 |
Functions | |
| void | sig_dfl_mode () |
| Set signal handlers to default behavior. | |
| void | sig_prog_mode () |
| Set up signal handlers for interrupt signals. | |
| void | signal_handler (int sig_num) |
| Signal handler for interrupt signals. | |
| bool | handle_signal (int sig_num) |
| Handle received signals and prompt user for action. | |
Variables | |
| volatile sig_atomic_t | sig_received = 0 |
| bool | f_curses_open = false |
| bool f_curses_open = false |
curses mode is active
Definition at line 33 of file sig.c.
Referenced by action_disposition(), answer_yn(), destroy_curses(), display_error(), handle_signal(), open_curses(), Perror(), and wait_mk_win().
| volatile sig_atomic_t sig_received = 0 |
Definition at line 31 of file sig.c.
Referenced by handle_signal(), popup_ckeys(), signal_handler(), and xwgetch().