SIGCHLD non-conformance was fixed in 2.6.9

This commit is contained in:
Michael Kerrisk 2004-11-16 16:59:09 +00:00
parent e3a887db90
commit 81841f39af
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,8 @@
.\" Modified 001213 by Michael Haardt (michael@moria.de)
.\" Modified 13 Jun 02, Michael Kerrisk <mtk-manpages@gmx.net>
.\" Added note on non-standard behaviour when SIGCHLD is ignored.
.\" Modified 2004-11-16, mtk, Noted that the non-conformance
.\" when SIGCHLD is being ignored is fixed in 2.6.9.
.\"
.TH TIMES 2 2002-06-14 "Linux" "Linux Programmer's Manual"
.SH NAME
@ -111,7 +113,8 @@ In POSIX-1996 the symbol CLK_TCK (defined in
.IR <time.h> )
is mentioned as obsolescent. It is obsolete now.
.PP
On Linux, if the disposition of SIGCHLD is set to
In Linux kernel versions before 2.6.9,
if the disposition of SIGCHLD is set to
.B SIG_IGN
then the times of terminated children
are automatically included in the
@ -122,6 +125,7 @@ fields, although POSIX 1003.1-2001 says that this should only happen
if the calling process
.BR wait ()s
on its children.
This non-conformance is rectified in Linux 2.6.9 and later.
.\" See the description of times() in XSH, which says:
.\" The times of a terminated child process are included... when wait()
.\" or waitpid() returns the process ID of this termianted child.