Go to the source code of this file.
Functions | |
void | set_signal (int sig) |
Set the signal to manipulate. | |
int | block_all_signal () |
Block the signal my_sig only. All other signals are allowed. | |
int | retore_signal () |
Unblock the signal my_sig. | |
int | get_pending_signals () |
Look if there are any my_sig pending signals. If it is the case, the pensding signales are activated. | |
int | set_signal_handler (void(*handler)(int)) |
Set a signal handler on the signal my_sig. | |
Variables | |
sigset_t | new_set |
Data structure used to put the new signals mask. | |
int | my_sig = -1 |
Signal to manipulate. |
Definition in file signals.c.
|
Block the signal my_sig only. All other signals are allowed.
|
|
Look if there are any my_sig pending signals. If it is the case, the pensding signales are activated.
Definition at line 101 of file signals.c. References my_sig. |
|
Unblock the signal my_sig.
|
|
Set the signal to manipulate.
Definition at line 21 of file signals.c. References my_sig. |
|
Set a signal handler on the signal my_sig.
Definition at line 130 of file signals.c. References my_sig. |