Unix / Linux Signals
#define SIGHUP 1 /* hangup detected */
#define SIGINT 2 /* interrupt */
#define SIGQUIT 3 /* quit from keyboard */
#define SIGILL 4 /* illegal instruction */
#define SIGTRAP 5 /* trace or breakpoint trap */
#define SIGABRT 6 /* abort signal from abort(3) */
#define SIGIOT 6 /* IOT trap. A synonym for SIGABRT */
#define SIGBUS 7 /* bus error (bad memory access) */
#define SIGFPE 8 /* floating point exception */
#define SIGKILL 9 /* kill signal (cannot catch this signal) */
#define SIGUSR1 10 /* user definable signal one */
#define SIGSEGV 11 /* segment violation (invalid memory ref) */
#define SIGUSR2 12 /* user definable signal two */
#define SIGPIPE 13 /* broken pipe (write to a pipe w/ no readers) */
#define SIGALRM 14 /* timer signal from alarm(2) */
#define SIGTERM 15 /* termination signal */
#define SIGSTKFLT 16 /* stack fault */
#define SIGCHLD 17 /* child process stopped or terminated */
#define SIGCONT 18 /* continue if stopped */
#define SIGSTOP 19 /* stop process (cannot catch this signal) */
#define SIGTSTP 20 /* stop typed at tty */
#define SIGTTIN 21 /* tty input for background process */
#define SIGTTOU 22 /* tty output for background process */
#define SIGURG 23 /* Urgent condition on socket (4.2 BSD) */
#define SIGXCPU 24 /* CPU time limit exceeded (4.2 BSD) */
#define SIGXFSZ 25 /* File size limit exceeded (4.2 BSD) */
#define SIGVTALRM 26 /* Virtual alarm clock (4.2 BSD) */
#define SIGPROF 27 /* Profiling timer expired */
#define SIGWINCH 28 /* Window resize signal (4.3 BSD, Sun) */
#define SIGIO 29 /* I/O now possible (4.2 BSD) */
#define SIGPOLL SIGIO /* Pollable event (Sys V). Synonym of SIGIO */
#define SIGLOST 29 /* File lock lost */
#define SIGPWR 30 /* Power failure (System V) */
#define SIGSYS 31 /* Bad argument to routine (SVID) */
#define SIGUNUSED 31 /* Unused signal (will be SIGSYS) */
#define SIGRTMIN 32 /* real time signals */
...
#define SIGRTMAX 63 /* real time signals */
source: Fedora Core 3 /usr/include/asm/signal.h, man 7 signal
keywords: unix, linux, process, signal, signals
date: 02/25/2005