Difference between revisions of "Signal.h"

From Ilianko
(Created page with "int sigemptyset(sigset_t *set) The sigemptyset() function initialises the signal set pointed to by set, such that all signals defined in this document are excluded. struct si...")
 
Line 3: Line 3:
 
The sigemptyset() function initialises the signal set pointed to by set, such that all signals defined in this document are excluded.  
 
The sigemptyset() function initialises the signal set pointed to by set, such that all signals defined in this document are excluded.  
  
 
+
struct sigaction  
struct sigaction {
+
{
 
     void (*sa_handler)(int);
 
     void (*sa_handler)(int);
 
     void (*sa_sigaction)(int, siginfo_t *, void *);
 
     void (*sa_sigaction)(int, siginfo_t *, void *);
Line 10: Line 10:
 
     int sa_flags;
 
     int sa_flags;
 
     void (*sa_restorer)(void);
 
     void (*sa_restorer)(void);
}
+
}

Revision as of 10:44, 21 June 2012

int sigemptyset(sigset_t *set)

The sigemptyset() function initialises the signal set pointed to by set, such that all signals defined in this document are excluded.

struct sigaction 
{
   void (*sa_handler)(int);
   void (*sa_sigaction)(int, siginfo_t *, void *);
   sigset_t sa_mask;
   int sa_flags;
   void (*sa_restorer)(void);
}