From a325cc60451ba0b7205691be62905e2d3b03e25f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 25 Dec 2007 16:16:06 +0000 Subject: [PATCH] ffix --- man2/wait.2 | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/man2/wait.2 b/man2/wait.2 index bb022caf8..a511ad7c2 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -136,7 +136,7 @@ value of The value of .I options is an OR of zero or more of the following constants: -.TP +.TP 12 .B WNOHANG return immediately if no child has exited. .TP @@ -263,7 +263,7 @@ is ignored. The child state changes to wait for are specified by ORing one or more of the following flags in .IR options : -.TP +.TP 12 .B WEXITED Wait for children that have terminated. .TP @@ -277,7 +277,7 @@ resumed by delivery of .PP The following flags may additionally be ORed in .IR options : -.TP +.TP 12 .B WNOHANG As for .BR waitpid (). @@ -292,15 +292,19 @@ fills in the following fields of the .I siginfo_t structure pointed to by .IR infop : -.IP \fIsi_pid\fP +.TP 12 +\fIsi_pid\fP The process ID of the child. -.IP \fIsi_uid\fP +.TP +\fIsi_uid\fP The real user ID of the child. (This field is not set on most other implementations.) -.IP \fIsi_signo\fP +.TP +\fIsi_signo\fP Always set to .BR SIGCHLD . -.IP \fIsi_status\fP +.TP +\fIsi_status\fP Either the exit status of the child, as given to .BR _exit (2) (or @@ -309,7 +313,8 @@ or the signal that caused the child to terminate, stop, or continue. The .I si_code field can be used to determine how to interpret this field. -.IP \fIsi_code\fP +.TP +\fIsi_code\fP Set to one of: .B CLD_EXITED (child called