wait.2: Document CLD_DUMPED and CLD_TRAPPED si_code values

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Gokdeniz Karadag 2009-04-21 16:43:46 +12:00 committed by Michael Kerrisk
parent 52aa4b9710
commit 73ac11ee65
1 changed files with 6 additions and 2 deletions

View File

@ -47,7 +47,7 @@
.\" 2005-05-10, mtk, __W* flags can't be used with waitid()
.\" 2008-07-04, mtk, removed erroneous text about SA_NOCLDSTOP
.\"
.TH WAIT 2 2008-07-04 "Linux" "Linux Programmer's Manual"
.TH WAIT 2 2009-04-21 "Linux" "Linux Programmer's Manual"
.SH NAME
wait, waitpid, waitid \- wait for process to change state
.SH SYNOPSIS
@ -310,8 +310,12 @@ Set to one of:
.BR _exit (2));
.B CLD_KILLED
(child killed by signal);
.B CLD_DUMPED
(child killed by signal, and dumped core);
.B CLD_STOPPED
(child stopped by signal); or
(child stopped by signal);
.B CLD_TRAPPED
(traced child has trapped); or
.B CLD_CONTINUED
(child continued by
.BR SIGCONT ).