Skip to contentSkip to conversation

man/man7/signal.7: Update definition of SIGCHLD

PATCH Superseded Arkadiusz Drabczyk 2 participants 6 messages Feb 2, 2025 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man/man7/signal.7: Update definition of SIGCHLD

---
 man/man7/signal.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
man/man7/signal.7 +3 -2
index dd04c6d1a..d2929dab1 100644
@@ -360,7 +360,8 @@ Linux supports the standard signals listed below.
 The second column of the table indicates which standard (if any)
 specified the signal: "P1990" indicates that the signal is described
 in the original POSIX.1-1990 standard;
-"P2001" indicates that the signal was added in SUSv2 and POSIX.1-2001.
+"P2001" indicates that the signal was added or its definition changed
+in SUSv2 and POSIX.1-2001.
 .TS
 l c c l
 ____
@@ -369,7 +370,7 @@ Signal	Standard	Action	Comment
 SIGABRT	P1990	Core	Abort signal from \fBabort\fP(3)
 SIGALRM	P1990	Term	Timer signal from \fBalarm\fP(2)
 SIGBUS	P2001	Core	Bus error (bad memory access)
-SIGCHLD	P1990	Ign	Child stopped or terminated
+SIGCHLD	P2001	Ign	Child stopped, terminated or continued
 SIGCLD	\-	Ign	A synonym for \fBSIGCHLD\fP
 SIGCONT	P1990	Cont	Continue if stopped
 SIGEMT	\-	Term	Emulator trap
Signature · 1 line
2.45.2
#1 lore raw

Hi Arkadiusz,

Quoted 12 lines · Arkadiusz Drabczyk
---
 man/man7/signal.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
man/man7/signal.7 +0 -0
index dd04c6d1a..d2929dab1 100644

man/man7/signal.7 Linux supports the standard signals listed below. · line 364

Quoted 6 lines
man/man7/signal.7 +2 -1
@@ -360,7 +360,8 @@ Linux supports the standard signals listed below.
 The second column of the table indicates which standard (if any)
 specified the signal: "P1990" indicates that the signal is described
 in the original POSIX.1-1990 standard;
-"P2001" indicates that the signal was added in SUSv2 and POSIX.1-2001.
+"P2001" indicates that the signal was added or its definition changed
+in SUSv2 and POSIX.1-2001.

Thanks!

man/man7/signal.7 Signal Standard Action Comment · line 373

Quoted 9 lines
man/man7/signal.7 +1 -1
 .TS
 l c c l
 ____
@@ -369,7 +370,7 @@ Signal	Standard	Action	Comment
 SIGABRT	P1990	Core	Abort signal from \fBabort\fP(3)
 SIGALRM	P1990	Term	Timer signal from \fBalarm\fP(2)
 SIGBUS	P2001	Core	Bus error (bad memory access)
-SIGCHLD	P1990	Ign	Child stopped or terminated
+SIGCHLD	P2001	Ign	Child stopped, terminated or continued

Please add a comma before the 'or' (Oxford comma). Other than that, it LGTM. Do you know if there are any other XSI extensions documented here and what we do with them? It would be interesting to be consistent about that.

Cheers,
Alex

Quoted 6 lines
man/man7/signal.7 +0 -0
 SIGCLD	\-	Ign	A synonym for \fBSIGCHLD\fP
 SIGCONT	P1990	Cont	Continue if stopped
 SIGEMT	\-	Term	Emulator trap
Signature · 1 line
2.45.2
Signature · 1 line
<https://www.alejandro-colomar.es/>
#2 lore raw
Quoted 4 lines · Alejandro Colomar

Please add a comma before the 'or' (Oxford comma). Other than that, it LGTM. Do you know if there are any other XSI extensions documented here and what we do with them? It would be interesting to be consistent about that.

No, I don't. It would require a lot of manual work to go through all of them but I agree that it's a job that needs to be done.

Signature · 1 line
Arkadiusz Drabczyk <[email protected]>
#3 lore raw

Hi Arkadiusz,

Quoted 8 lines · Arkadiusz Drabczyk
Quoted 4 lines · Alejandro Colomar

Please add a comma before the 'or' (Oxford comma). Other than that, it LGTM. Do you know if there are any other XSI extensions documented here and what we do with them? It would be interesting to be consistent about that.

No, I don't. It would require a lot of manual work to go through all of them but I agree that it's a job that needs to be done.

Hmm, I've done it now and it wasn't that bad. There seem to only be 3 signals that are specified as XSI extensions.

<https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html>

Apart from this SIGCHLD extension, there are:

SIGSYS A Bad system call.
SIGVTALRM T Virtual timer expired.

And we document them normally, without saying anything about them being XSI extensions. So I guess it's just fine to not do it with SIGCHLD.

Nice! :)

Cheers,
Alex

Signature · 1 line
<https://www.alejandro-colomar.es/>
#4 lore raw

PATCH v2 1/1 man/man7/signal.7: Update definition of SIGCHLD

In reply to Arkadiusz Drabczyk
---
 man/man7/signal.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
man/man7/signal.7 +3 -2
index dd04c6d1a..83251e071 100644
@@ -360,7 +360,8 @@ Linux supports the standard signals listed below.
 The second column of the table indicates which standard (if any)
 specified the signal: "P1990" indicates that the signal is described
 in the original POSIX.1-1990 standard;
-"P2001" indicates that the signal was added in SUSv2 and POSIX.1-2001.
+"P2001" indicates that the signal was added or its definition changed
+in SUSv2 and POSIX.1-2001.
 .TS
 l c c l
 ____
@@ -369,7 +370,7 @@ Signal	Standard	Action	Comment
 SIGABRT	P1990	Core	Abort signal from \fBabort\fP(3)
 SIGALRM	P1990	Term	Timer signal from \fBalarm\fP(2)
 SIGBUS	P2001	Core	Bus error (bad memory access)
-SIGCHLD	P1990	Ign	Child stopped or terminated
+SIGCHLD	P2001	Ign	Child stopped, terminated, or continued
 SIGCLD	\-	Ign	A synonym for \fBSIGCHLD\fP
 SIGCONT	P1990	Cont	Continue if stopped
 SIGEMT	\-	Term	Emulator trap
Signature · 1 line
2.45.2
#5 lore raw

Hi Arkadiusz,

Quoted 3 lines · Arkadiusz Drabczyk

Thanks! I've applied the patch.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=ac93c406a779bd0def5817d78c30f8a25bb318b9>

Cheers,
Alex

Quoted 30 lines
---
 man/man7/signal.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
man/man7/signal.7 +3 -2
index dd04c6d1a..83251e071 100644
@@ -360,7 +360,8 @@ Linux supports the standard signals listed below.
 The second column of the table indicates which standard (if any)
 specified the signal: "P1990" indicates that the signal is described
 in the original POSIX.1-1990 standard;
-"P2001" indicates that the signal was added in SUSv2 and POSIX.1-2001.
+"P2001" indicates that the signal was added or its definition changed
+in SUSv2 and POSIX.1-2001.
 .TS
 l c c l
 ____
@@ -369,7 +370,7 @@ Signal	Standard	Action	Comment
 SIGABRT	P1990	Core	Abort signal from \fBabort\fP(3)
 SIGALRM	P1990	Term	Timer signal from \fBalarm\fP(2)
 SIGBUS	P2001	Core	Bus error (bad memory access)
-SIGCHLD	P1990	Ign	Child stopped or terminated
+SIGCHLD	P2001	Ign	Child stopped, terminated, or continued
 SIGCLD	\-	Ign	A synonym for \fBSIGCHLD\fP
 SIGCONT	P1990	Cont	Continue if stopped
 SIGEMT	\-	Term	Emulator trap
Signature · 1 line
2.45.2
Signature · 1 line
<https://www.alejandro-colomar.es/>