Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
signal.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  sigset_t
 
struct  sigaction
 
struct  sigaltstack
 

Macros

#define _NSIG   64
 
#define _NSIG_BPW   32
 
#define _NSIG_WORDS   (_NSIG / _NSIG_BPW)
 
#define SIGHUP   1
 
#define SIGINT   2
 
#define SIGQUIT   3
 
#define SIGILL   4
 
#define SIGTRAP   5
 
#define SIGABRT   6
 
#define SIGIOT   6
 
#define SIGBUS   7
 
#define SIGFPE   8
 
#define SIGKILL   9
 
#define SIGUSR1   10
 
#define SIGSEGV   11
 
#define SIGUSR2   12
 
#define SIGPIPE   13
 
#define SIGALRM   14
 
#define SIGTERM   15
 
#define SIGSTKFLT   16
 
#define SIGCHLD   17
 
#define SIGCONT   18
 
#define SIGSTOP   19
 
#define SIGTSTP   20
 
#define SIGTTIN   21
 
#define SIGTTOU   22
 
#define SIGURG   23
 
#define SIGXCPU   24
 
#define SIGXFSZ   25
 
#define SIGVTALRM   26
 
#define SIGPROF   27
 
#define SIGWINCH   28
 
#define SIGIO   29
 
#define SIGPOLL   SIGIO
 
#define SIGPWR   30
 
#define SIGSYS   31
 
#define SIGUNUSED   31
 
#define SIGRTMIN   32
 
#define SIGRTMAX   (_NSIG-1)
 
#define SA_NOCLDSTOP   0x00000001
 
#define SA_NOCLDWAIT   0x00000002 /* not supported yet */
 
#define SA_SIGINFO   0x00000004
 
#define SA_ONSTACK   0x08000000
 
#define SA_RESTART   0x10000000
 
#define SA_NODEFER   0x40000000
 
#define SA_RESETHAND   0x80000000
 
#define SA_NOMASK   SA_NODEFER
 
#define SA_ONESHOT   SA_RESETHAND
 
#define SA_RESTORER   0x04000000
 
#define SS_ONSTACK   1
 
#define SS_DISABLE   2
 
#define MINSIGSTKSZ   2048
 
#define SIGSTKSZ   8192
 
#define SIG_BLOCK   0 /* for blocking signals */
 
#define SIG_UNBLOCK   1 /* for unblocking signals */
 
#define SIG_SETMASK   2 /* for setting the signal mask */
 
#define SIG_DFL   ((__sighandler_t)0) /* default signal handling */
 
#define SIG_IGN   ((__sighandler_t)1) /* ignore signal */
 
#define SIG_ERR   ((__sighandler_t)-1) /* error return from signal */
 
#define sa_handler   _u._sa_handler
 
#define sa_sigaction   _u._sa_sigaction
 

Typedefs

typedef unsigned long old_sigset_t
 
typedef void(* __sighandler_t )(int)
 
typedef struct sigaltstack stack_t
 

Macro Definition Documentation

#define _NSIG   64

Definition at line 17 of file signal.h.

#define _NSIG_BPW   32

Definition at line 18 of file signal.h.

#define _NSIG_WORDS   (_NSIG / _NSIG_BPW)

Definition at line 19 of file signal.h.

#define MINSIGSTKSZ   2048

Definition at line 106 of file signal.h.

#define sa_handler   _u._sa_handler

Definition at line 136 of file signal.h.

#define SA_NOCLDSTOP   0x00000001

Definition at line 87 of file signal.h.

#define SA_NOCLDWAIT   0x00000002 /* not supported yet */

Definition at line 88 of file signal.h.

#define SA_NODEFER   0x40000000

Definition at line 92 of file signal.h.

#define SA_NOMASK   SA_NODEFER

Definition at line 95 of file signal.h.

#define SA_ONESHOT   SA_RESETHAND

Definition at line 96 of file signal.h.

#define SA_ONSTACK   0x08000000

Definition at line 90 of file signal.h.

#define SA_RESETHAND   0x80000000

Definition at line 93 of file signal.h.

#define SA_RESTART   0x10000000

Definition at line 91 of file signal.h.

#define SA_RESTORER   0x04000000

Definition at line 98 of file signal.h.

#define sa_sigaction   _u._sa_sigaction

Definition at line 137 of file signal.h.

#define SA_SIGINFO   0x00000004

Definition at line 89 of file signal.h.

#define SIG_BLOCK   0 /* for blocking signals */

Definition at line 111 of file signal.h.

#define SIG_DFL   ((__sighandler_t)0) /* default signal handling */

Definition at line 118 of file signal.h.

#define SIG_ERR   ((__sighandler_t)-1) /* error return from signal */

Definition at line 120 of file signal.h.

#define SIG_IGN   ((__sighandler_t)1) /* ignore signal */

Definition at line 119 of file signal.h.

#define SIG_SETMASK   2 /* for setting the signal mask */

Definition at line 113 of file signal.h.

#define SIG_UNBLOCK   1 /* for unblocking signals */

Definition at line 112 of file signal.h.

#define SIGABRT   6

Definition at line 39 of file signal.h.

#define SIGALRM   14

Definition at line 48 of file signal.h.

#define SIGBUS   7

Definition at line 41 of file signal.h.

#define SIGCHLD   17

Definition at line 51 of file signal.h.

#define SIGCONT   18

Definition at line 52 of file signal.h.

#define SIGFPE   8

Definition at line 42 of file signal.h.

#define SIGHUP   1

Definition at line 34 of file signal.h.

#define SIGILL   4

Definition at line 37 of file signal.h.

#define SIGINT   2

Definition at line 35 of file signal.h.

#define SIGIO   29

Definition at line 63 of file signal.h.

#define SIGIOT   6

Definition at line 40 of file signal.h.

#define SIGKILL   9

Definition at line 43 of file signal.h.

#define SIGPIPE   13

Definition at line 47 of file signal.h.

#define SIGPOLL   SIGIO

Definition at line 64 of file signal.h.

#define SIGPROF   27

Definition at line 61 of file signal.h.

#define SIGPWR   30

Definition at line 66 of file signal.h.

#define SIGQUIT   3

Definition at line 36 of file signal.h.

#define SIGRTMAX   (_NSIG-1)

Definition at line 72 of file signal.h.

#define SIGRTMIN   32

Definition at line 71 of file signal.h.

#define SIGSEGV   11

Definition at line 45 of file signal.h.

#define SIGSTKFLT   16

Definition at line 50 of file signal.h.

#define SIGSTKSZ   8192

Definition at line 107 of file signal.h.

#define SIGSTOP   19

Definition at line 53 of file signal.h.

#define SIGSYS   31

Definition at line 67 of file signal.h.

#define SIGTERM   15

Definition at line 49 of file signal.h.

#define SIGTRAP   5

Definition at line 38 of file signal.h.

#define SIGTSTP   20

Definition at line 54 of file signal.h.

#define SIGTTIN   21

Definition at line 55 of file signal.h.

#define SIGTTOU   22

Definition at line 56 of file signal.h.

#define SIGUNUSED   31

Definition at line 68 of file signal.h.

#define SIGURG   23

Definition at line 57 of file signal.h.

#define SIGUSR1   10

Definition at line 44 of file signal.h.

#define SIGUSR2   12

Definition at line 46 of file signal.h.

#define SIGVTALRM   26

Definition at line 60 of file signal.h.

#define SIGWINCH   28

Definition at line 62 of file signal.h.

#define SIGXCPU   24

Definition at line 58 of file signal.h.

#define SIGXFSZ   25

Definition at line 59 of file signal.h.

#define SS_DISABLE   2

Definition at line 104 of file signal.h.

#define SS_ONSTACK   1

Definition at line 103 of file signal.h.

Typedef Documentation

typedef void(* __sighandler_t)(int)

Definition at line 116 of file signal.h.

typedef unsigned long old_sigset_t

Definition at line 26 of file signal.h.