mirror of https://github.com/mkerrisk/man-pages
exit.3: Minor text restructuring for clarity
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fbc639312f
commit
4426609333
11
man3/exit.3
11
man3/exit.3
|
@ -140,18 +140,19 @@ After
|
|||
.BR exit (),
|
||||
the exit status must be transmitted to the
|
||||
parent process.
|
||||
There are three cases.
|
||||
There are three cases:
|
||||
.IP \(bu 3
|
||||
If the parent has set
|
||||
.BR SA_NOCLDWAIT ,
|
||||
or has set the
|
||||
.B SIGCHLD
|
||||
handler to
|
||||
.BR SIG_IGN ,
|
||||
the status is discarded.
|
||||
the status is discarded and the child dies immediately.
|
||||
.IP \(bu
|
||||
If the parent was waiting on the child,
|
||||
it is notified of the exit status.
|
||||
In both cases the exiting
|
||||
process dies immediately.
|
||||
it is notified of the exit status and the child dies immediately.
|
||||
.IP \(bu
|
||||
If the parent has not indicated that
|
||||
it is not interested in the exit status, but is not waiting,
|
||||
the exiting process turns into a "zombie" process
|
||||
|
|
Loading…
Reference in New Issue