sigaction.2: Clarify that the use of SI_SIGIO is for Linux 2.2 only

See also http://sourceware.org/bugzilla/show_bug.cgi?id=6745

Reported-by: Andreas Jaeger <aj@suse.com>
Reported-by: <who@connect.carleton.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-12 11:47:43 +12:00
parent 609b89e9f8
commit dff6bb1919
1 changed files with 11 additions and 4 deletions

View File

@ -42,7 +42,7 @@
.\" 2010-06-11 Andi Kleen, add hwpoison signal extensions .\" 2010-06-11 Andi Kleen, add hwpoison signal extensions
.\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields. .\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields.
.\" .\"
.TH SIGACTION 2 2011-09-08 "Linux" "Linux Programmer's Manual" .TH SIGACTION 2 2012-04-12 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
sigaction \- examine and change a signal action sigaction \- examine and change a signal action
.SH SYNOPSIS .SH SYNOPSIS
@ -421,7 +421,8 @@ and
.I si_addr_lsb .I si_addr_lsb
are Linux-specific extensions. are Linux-specific extensions.
.IP * .IP *
.BR SIGPOLL / SIGIO .BR SIGIO / SIGPOLL
(the two names are synonyms on Linux)
fills in fills in
.IR si_band " and " si_fd . .IR si_band " and " si_fd .
The The
@ -464,7 +465,13 @@ POSIX message queue state changed (since Linux 2.6.6); see
AIO completed AIO completed
.TP .TP
.B SI_SIGIO .B SI_SIGIO
queued SIGIO Queued
.B SIGIO
(only in kernels up to Linux 2.2; from Linux 2.4 onward
.BR SIGIO / SIGPOLL
fills in
.I si_code
as described below).
.TP .TP
.B SI_TKILL .B SI_TKILL
.BR tkill (2) .BR tkill (2)
@ -626,7 +633,7 @@ stopped child has continued (since Linux 2.6.9)
The following values can be placed in The following values can be placed in
.I si_code .I si_code
for a for a
.B SIGPOLL .BR SIGIO / SIGPOLL
signal: signal:
.RS 4 .RS 4
.TP 15 .TP 15