wait.2: ffix

This commit is contained in:
Michael Kerrisk 2008-10-27 22:11:15 -05:00
parent 059e3255a1
commit 9d0cc7117c
1 changed files with 4 additions and 0 deletions

View File

@ -521,6 +521,7 @@ The parent process executes a loop that monitors the child using
and uses the W*() macros described above to analyze the wait status value.
The following shell session demonstrates the use of the program:
.in +4n
.nf
$ ./a.out &
@ -535,6 +536,9 @@ killed by signal 15
[1]+ Done ./a.out
$
.fi
.in
.nf
#include <sys/wait.h>
#include <stdlib.h>
#include <unistd.h>