Differences between current version and predecessor to the previous major change of signal(7).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Thursday, April 10, 2008 4:47:46 am | by CraigBox | |
Older page: | version 2 | Last edited on Thursday, September 26, 2002 11:08:39 pm | by JohnMcPherson | Revert |
@@ -1,12 +1,4 @@
-SIGNAL
-!!!SIGNAL
-NAME
-DESCRIPTION
-CONFORMING TO
-BUGS
-SEE ALSO
-----
!!NAME
signal - list of available signals
@@ -15,13 +7,13 @@
Linux supports the signals listed below. Several signal
numbers are architecture dependent. First the signals
described in POSIX.1.
-
+<pre>
Signal Value Action Comment
-------------------------------------------------------------------------
- SIGHUP 1 A Hangup detected on controlling terminal
- or
death of controlling process
+ SIGHUP 1 A Hangup detected on controlling terminal or
+ death of controlling process
SIGINT 2 A Interrupt from keyboard
SIGQUIT 3 C Quit from keyboard
SIGILL 4 C Illegal Instruction
SIGABRT 6 C Abort signal from abort(3)
@@ -38,12 +30,11 @@
SIGSTOP 17,19,23 DEF Stop process
SIGTSTP 18,20,24 D Stop typed at tty
SIGTTIN 21,21,26 D tty input for background process
SIGTTOU 22,22,27 D tty output for background process
-
-
+</pre>
Next the signals not in POSIX.1 but described in SUSv2.
-
+<pre>
Signal Value Action Comment
-------------------------------------------------------------------------
SIGBUS 10,7,10 C Bus error (bad memory access)
SIGPOLL A Pollable event (Sys V). Synonym of SIGIO
@@ -53,15 +44,16 @@
SIGURG 16,23,21 B Urgent condition on socket (4.2 BSD)
SIGVTALRM 26,26,28 A Virtual alarm clock (4.2 BSD)
SIGXCPU 24,24,30 C CPU time limit exceeded (4.2 BSD)
SIGXFSZ 25,25,31 C File size limit exceeded (4.2 BSD)
-
+</pre>
(For the cases SIGSYS, SIGXCPU, SIGXFSZ, and on some architectures also SIGBUS, the Linux default action up to now (2.3.27) is A (terminate), while SUSv2 prescribes C (terminate and dump core).)
Next various other signals.
+<pre>
Signal Value Action Comment
--------------------------------------------------------------------
SIGIOT 6 C IOT trap. A synonym for SIGABRT
SIGEMT 7,-,7
@@ -73,37 +65,33 @@
SIGINFO 29,-,- A synonym for SIGPWR
SIGLOST -,-,- A File lock lost
SIGWINCH 28,28,20 B Window resize signal (4.3 BSD, Sun)
SIGUNUSED -,31,- A Unused signal (will be SIGSYS)
+</pre>
(Here - denotes that a signal is absent; there where three values are given, the first one is usually valid for alpha and sparc, the middle one for i386 and ppc and sh, the last one for mips. Signal 29 is __SIGINFO__ / __SIGPWR__ on an alpha but __SIGLOST__ on a sparc.)
The letters in the "Action" column have the following meanings:
-A Default action is to terminate the process.
+;
A :
Default action is to terminate the process.
-B Default action is to ignore the signal.
+;
B :
Default action is to ignore the signal.
-C Default action is to terminate the process and dump core.
+;
C :
Default action is to terminate the process and dump core.
-D Default action is to stop the process.
+;
D :
Default action is to stop the process.
-E Signal cannot be caught.
+;
E :
Signal cannot be caught.
-F Signal cannot be ignored.
+;
F :
Signal cannot be ignored.
!!CONFORMING TO
POSIX.1
!!BUGS
-__SIGIO__ and __SIGLOST__ have the same value. The
-
latter is commented out in the kernel source, but the build
-
process of some software still thinks that signal 29 is
-
__SIGLOST__.
-!!SEE ALSO
+__SIGIO__ and __SIGLOST__ have the same value. The latter is commented out in the kernel source, but the build process of some software still thinks that signal 29 is __SIGLOST__.
+!!SEE ALSO
-kill(1), kill(2),
-
setitimer(2)
-----
+kill(1), kill(2), setitimer(2)