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  sigaltstack
 

Macros

#define SIGHUP   1
 
#define SIGINT   2
 
#define SIGQUIT   3
 
#define SIGILL   4
 
#define SIGTRAP   5
 
#define SIGABRT   6
 
#define SIGIOT   6
 
#define SIGEMT   7
 
#define SIGFPE   8
 
#define SIGKILL   9
 
#define SIGBUS   10
 
#define SIGSEGV   11
 
#define SIGSYS   12 /* Linux doesn't use this */
 
#define SIGPIPE   13
 
#define SIGALRM   14
 
#define SIGTERM   15
 
#define SIGUSR1   16
 
#define SIGUSR2   17
 
#define SIGCHLD   18
 
#define SIGPWR   19
 
#define SIGVTALRM   20
 
#define SIGPROF   21
 
#define SIGIO   22
 
#define SIGPOLL   SIGIO
 
#define SIGWINCH   23
 
#define SIGSTOP   24
 
#define SIGTSTP   25
 
#define SIGCONT   26
 
#define SIGTTIN   27
 
#define SIGTTOU   28
 
#define SIGURG   29
 
#define SIGLOST   30 /* Linux doesn't use this either */
 
#define SIGUNUSED   31
 
#define SIGRESERVE   SIGUNUSED
 
#define SIGXCPU   33
 
#define SIGXFSZ   34
 
#define SIGSTKFLT   36
 
#define SIGRTMIN   37
 
#define SIGRTMAX   _NSIG /* it's 44 under HP/UX */
 
#define SA_ONSTACK   0x00000001
 
#define SA_RESETHAND   0x00000004
 
#define SA_NOCLDSTOP   0x00000008
 
#define SA_SIGINFO   0x00000010
 
#define SA_NODEFER   0x00000020
 
#define SA_RESTART   0x00000040
 
#define SA_NOCLDWAIT   0x00000080
 
#define _SA_SIGGFAULT   0x00000100 /* HPUX */
 
#define SA_NOMASK   SA_NODEFER
 
#define SA_ONESHOT   SA_RESETHAND
 
#define SA_RESTORER   0x04000000 /* obsolete -- ignored */
 
#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 */
 

Typedefs

typedef void __signalfn_t (int)
 
typedef __signalfn_t __user__sighandler_t
 
typedef struct sigaltstack stack_t
 

Macro Definition Documentation

#define _SA_SIGGFAULT   0x00000100 /* HPUX */

Definition at line 67 of file signal.h.

#define MINSIGSTKSZ   2048

Definition at line 80 of file signal.h.

#define SA_NOCLDSTOP   0x00000008

Definition at line 62 of file signal.h.

#define SA_NOCLDWAIT   0x00000080

Definition at line 66 of file signal.h.

#define SA_NODEFER   0x00000020

Definition at line 64 of file signal.h.

#define SA_NOMASK   SA_NODEFER

Definition at line 69 of file signal.h.

#define SA_ONESHOT   SA_RESETHAND

Definition at line 70 of file signal.h.

#define SA_ONSTACK   0x00000001

Definition at line 60 of file signal.h.

#define SA_RESETHAND   0x00000004

Definition at line 61 of file signal.h.

#define SA_RESTART   0x00000040

Definition at line 65 of file signal.h.

#define SA_RESTORER   0x04000000 /* obsolete -- ignored */

Definition at line 72 of file signal.h.

#define SA_SIGINFO   0x00000010

Definition at line 63 of file signal.h.

#define SIG_BLOCK   0 /* for blocking signals */

Definition at line 84 of file signal.h.

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

Definition at line 88 of file signal.h.

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

Definition at line 90 of file signal.h.

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

Definition at line 89 of file signal.h.

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

Definition at line 86 of file signal.h.

#define SIG_UNBLOCK   1 /* for unblocking signals */

Definition at line 85 of file signal.h.

#define SIGABRT   6

Definition at line 9 of file signal.h.

#define SIGALRM   14

Definition at line 18 of file signal.h.

#define SIGBUS   10

Definition at line 14 of file signal.h.

#define SIGCHLD   18

Definition at line 22 of file signal.h.

#define SIGCONT   26

Definition at line 31 of file signal.h.

#define SIGEMT   7

Definition at line 11 of file signal.h.

#define SIGFPE   8

Definition at line 12 of file signal.h.

#define SIGHUP   1

Definition at line 4 of file signal.h.

#define SIGILL   4

Definition at line 7 of file signal.h.

#define SIGINT   2

Definition at line 5 of file signal.h.

#define SIGIO   22

Definition at line 26 of file signal.h.

#define SIGIOT   6

Definition at line 10 of file signal.h.

#define SIGKILL   9

Definition at line 13 of file signal.h.

#define SIGLOST   30 /* Linux doesn't use this either */

Definition at line 35 of file signal.h.

#define SIGPIPE   13

Definition at line 17 of file signal.h.

#define SIGPOLL   SIGIO

Definition at line 27 of file signal.h.

#define SIGPROF   21

Definition at line 25 of file signal.h.

#define SIGPWR   19

Definition at line 23 of file signal.h.

#define SIGQUIT   3

Definition at line 6 of file signal.h.

#define SIGRESERVE   SIGUNUSED

Definition at line 37 of file signal.h.

#define SIGRTMAX   _NSIG /* it's 44 under HP/UX */

Definition at line 45 of file signal.h.

#define SIGRTMIN   37

Definition at line 44 of file signal.h.

#define SIGSEGV   11

Definition at line 15 of file signal.h.

#define SIGSTKFLT   36

Definition at line 41 of file signal.h.

#define SIGSTKSZ   8192

Definition at line 81 of file signal.h.

#define SIGSTOP   24

Definition at line 29 of file signal.h.

#define SIGSYS   12 /* Linux doesn't use this */

Definition at line 16 of file signal.h.

#define SIGTERM   15

Definition at line 19 of file signal.h.

#define SIGTRAP   5

Definition at line 8 of file signal.h.

#define SIGTSTP   25

Definition at line 30 of file signal.h.

#define SIGTTIN   27

Definition at line 32 of file signal.h.

#define SIGTTOU   28

Definition at line 33 of file signal.h.

#define SIGUNUSED   31

Definition at line 36 of file signal.h.

#define SIGURG   29

Definition at line 34 of file signal.h.

#define SIGUSR1   16

Definition at line 20 of file signal.h.

#define SIGUSR2   17

Definition at line 21 of file signal.h.

#define SIGVTALRM   20

Definition at line 24 of file signal.h.

#define SIGWINCH   23

Definition at line 28 of file signal.h.

#define SIGXCPU   33

Definition at line 39 of file signal.h.

#define SIGXFSZ   34

Definition at line 40 of file signal.h.

#define SS_DISABLE   2

Definition at line 78 of file signal.h.

#define SS_ONSTACK   1

Definition at line 77 of file signal.h.

Typedef Documentation

Definition at line 108 of file signal.h.

typedef void __signalfn_t(int)

Definition at line 107 of file signal.h.