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 &
[1]+ Done ./a.out
$
+.fi
+.in
+.nf
#include <sys/wait.h>
#include <stdlib.h>
#include <unistd.h>