mirror of https://github.com/mkerrisk/man-pages
wait.2: ffix
This commit is contained in:
parent
059e3255a1
commit
9d0cc7117c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue