Functions | Variables
cntrlc.h File Reference
#include <setjmp.h>
#include <misc/auxiliary.h>
#include <kernel/structs.h>

Go to the source code of this file.

Functions

void init_signals ()
 

Variables

jmp_buf si_start_jmpbuf
 
short si_restart
 
int siRandomStart
 
BOOLEAN siCntrlc
 
BOOLEAN singular_in_batchmode
 
volatile BOOLEAN do_shutdown
 
volatile int defer_shutdown
 

Function Documentation

void init_signals ( )

Definition at line 575 of file cntrlc.cc.

576 {
577  #ifdef SIGSEGV
579  #endif
580  #ifdef SIGBUS
582  #endif
583  #ifdef SIGFPE
585  #endif
586  #ifdef SIGILL
588  #endif
589  #ifdef SIGIOT
591  #endif
596 }
void sigint_handler(int)
Definition: cntrlc.cc:325
void sig_term_hdl(int)
Definition: cntrlc.cc:93
void sig_chld_hdl(int sig)
additional default signal handler
Definition: ssiLink.cc:1890
void(* si_hdl_typ)(int)
Definition: cntrlc.cc:113
void sigsegv_handler(int sig)
Definition: cntrlc.cc:291
si_hdl_typ si_set_signal(int sig, si_hdl_typ signal_handler)
meta function for binding a signal to an handler
Definition: cntrlc.cc:135
void sig_pipe_hdl(int)
Definition: cntrlc.cc:80

Variable Documentation

volatile int defer_shutdown

Definition at line 91 of file cntrlc.cc.

volatile BOOLEAN do_shutdown

Definition at line 90 of file cntrlc.cc.

short si_restart

Definition at line 110 of file cntrlc.cc.

jmp_buf si_start_jmpbuf

Definition at line 108 of file cntrlc.cc.

BOOLEAN siCntrlc

Definition at line 111 of file cntrlc.cc.

BOOLEAN singular_in_batchmode

Definition at line 78 of file cntrlc.cc.

int siRandomStart

Definition at line 109 of file cntrlc.cc.