signal.7: Place signal numbers in a separate table

The current tables of signal information are unwieldy,
as they try to cram in too much information.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-11-17 09:29:46 +01:00
parent bdbc9b4475
commit 9a10a14487
1 changed files with 73 additions and 0 deletions

View File

@ -344,6 +344,79 @@ is synonymous with
Since glibc 2.26,
.B SIGUNUSED
is no longer defined on any architecture.
.PP
.SS Signal numbering for standard signals
The numeric value for each signal is given in the table below.
As shown in the table, many signals have different numeric values
on different architectures.
The first numeric value in each table row shows the signal number
on x86, ARM, and most other architectures;
the second value is for Alpha and SPARC; the third is for MIPS;
and the last is for PARISC.
A dash (\-) denotes that a signal is absent on the corresponding architecture.
.TS
l c c c c l
l c c c c l
______
lB c c c c l.
Signal x86/ARM Alpha/ MIPS PARISC Notes
most others SPARC
SIGHUP \01 \01 \01 \01
SIGINT \02 \02 \02 \02
SIGQUIT \03 \03 \03 \03
SIGILL \04 \04 \04 \04
SIGTRAP \05 \05 \05 \05
SIGABRT \06 \06 \06 \06
SIGIOT \06 \06 \06 \06
SIGBUS \07 10 10 10
SIGEMT \- \07 \07 -
SIGFPE \08 \08 \08 \08
SIGKILL \09 \09 \09 \09
SIGUSR1 10 30 16 16
SIGSEGV 11 11 11 11
SIGUSR2 12 31 17 17
SIGPIPE 13 13 13 13
SIGALRM 14 14 14 14
SIGTERM 15 15 15 15
SIGSTKFLT 16 \- \- \07
SIGCHLD 17 20 18 18
SIGCLD \- \- 18 \-
SIGCONT 18 19 25 26
SIGSTOP 19 17 23 24
SIGTSTP 20 18 24 25
SIGTTIN 21 21 26 27
SIGTTOU 22 22 27 28
SIGURG 23 16 21 29
SIGXCPU 24 24 30 12
SIGXFSZ 25 25 31 30
SIGVTALRM 26 26 28 20
SIGPROF 27 27 29 21
SIGWINCH 28 28 20 23
SIGIO 29 23 22 22
SIGPOLL Same as SIGIO
SIGPWR 30 29/\- 19 19
SIGINFO \- 29/\- \- \-
SIGLOST \- \-/29 \- \-
SIGSYS 31 12 12 31
SIGUNUSED 31 \- \- 31
.TE
.PP
Note the following:
.IP * 3
Where defined,
.B SIGUNUSED
is synonymous with
.BR SIGSYS .
Since glibc 2.26,
.B SIGUNUSED
is no longer defined on any architecture.
.IP *
Signal 29 is
.BR SIGINFO / SIGPWR
(synonyms for the same value) on Alpha but
.B SIGLOST
on SPARC.
.\"
.SS Real-time signals
Starting with version 2.2,
Linux supports real-time signals as originally defined in the POSIX.1b