#include <signal.h>
#include <stdint.h>
#include <time.h>
#include <sys/time.h>
Go to the source code of this file.
◆ SIGHDL_ALRM
◆ SIGHDL_USR1
◆ SIGHDL_USR2
◆ SIGHDL_XCPU
◆ sighdl()
Generic signal handler 
Definition at line 52 of file sighdl.c.
 
 
◆ sighdl_set_timeout()
      
        
          | int sighdl_set_timeout  | 
          ( | 
          int *  | 
          sec | ) | 
           | 
        
      
 
Set a timer 
Definition at line 89 of file sighdl.c.
 
 
◆ sighdl_timeout()
Check if a timeout has occurred 
Definition at line 74 of file sighdl.c.
 
 
◆ sighdl_trap_cpulimit()
      
        
          | int sighdl_trap_cpulimit  | 
          ( | 
           | ) | 
           | 
        
      
 
Trap CPU time limit (SIGXCPU) 
Definition at line 110 of file sighdl.c.
 
 
◆ sighdl_trap_usr()
Trap user signals (SIGUSR1, SIGUSR2) 
Definition at line 123 of file sighdl.c.
 
 
◆ sighdl_usr()
Check if a user signal has been raised 
Definition at line 81 of file sighdl.c.
 
 
◆ TIMEOUT
◆ USR