#include <signal.h>
#include "syswait.h"
#include "siglist.h"
#include "base-list.h"
Go to the source code of this file.
#define BADSIG (RETSIGTYPE (*)(int))-1 |
#define BLOCK_CHILD | ( | nvar, | |||
ovar | ) | ovar = sigblock (sigmask (SIGCHLD)) |
#define BLOCK_SIGNAL | ( | sig, | |||
nvar, | |||||
ovar | ) |
Value:
do \ { \ sigemptyset (&nvar); \ sigaddset (&nvar, sig); \ sigemptyset (&ovar); \ sigprocmask (SIG_BLOCK, &nvar, &ovar); \ } \ while (0)
#define octave_sighandlers_h 1 |
#define RETSIGTYPE void |
#define UNBLOCK_CHILD | ( | ovar | ) | sigsetmask (ovar) |
typedef RETSIGTYPE sig_handler(int) |
OCTINTERP_API void install_signal_handlers | ( | void | ) |
OCTINTERP_API octave_interrupt_handler octave_catch_interrupts | ( | void | ) |
OCTINTERP_API octave_interrupt_handler octave_ignore_interrupts | ( | void | ) |
OCTINTERP_API octave_interrupt_handler octave_set_interrupt_handler | ( | const volatile octave_interrupt_handler & | , | |
bool | restart_syscalls = true | |||
) |
OCTINTERP_API sig_handler* octave_set_signal_handler | ( | int | , | |
sig_handler * | , | |||
bool | restart_syscalls = true | |||
) |
OCTINTERP_API void octave_signal_handler | ( | void | ) |
OCTINTERP_API bool can_interrupt |