clarifications
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Wed, 14 May 1986 05:21:25 +0000 (21:21 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Wed, 14 May 1986 05:21:25 +0000 (21:21 -0800)
SCCS-vsn: lib/libc/sys/_exit.2 6.3

usr/src/lib/libc/sys/_exit.2

index da722ae..995fed6 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)_exit.2     6.2 (Berkeley) %G%
+.\"    @(#)_exit.2     6.3 (Berkeley) %G%
 .\"
 .TH EXIT 2 ""
 .UC 4
 .\"
 .TH EXIT 2 ""
 .UC 4
@@ -20,6 +20,8 @@ terminates a process with the following consequences:
 .in +5n
 .PP
 All of the descriptors open in the calling process are closed.
 .in +5n
 .PP
 All of the descriptors open in the calling process are closed.
+This may entail delays, for example waiting for output to drain;
+a process in this state may not be killed, as it is already dying.
 .PP
 If the parent process of the calling process is executing a
 .I wait
 .PP
 If the parent process of the calling process is executing a
 .I wait
@@ -34,13 +36,14 @@ processes are also set to 1.  This means that the initialization process
 (see 
 .IR intro (2))
 inherits each of these processes as well.
 (see 
 .IR intro (2))
 inherits each of these processes as well.
+Any stopped children are restarted with a hangup signal (SIGHUP).
 .in -5n
 .PP
 Most C programs call the library routine
 .IR exit (3),
 .in -5n
 .PP
 Most C programs call the library routine
 .IR exit (3),
-which performs cleanup actions in the standard i/o library before
+which performs cleanup actions in the standard I/O library before
 calling \fI_exit\fP\|.
 .SH "RETURN VALUE"
 This call never returns.
 .SH "SEE ALSO"
 calling \fI_exit\fP\|.
 .SH "RETURN VALUE"
 This call never returns.
 .SH "SEE ALSO"
-fork(2), wait(2), exit(3)
+fork(2), sigvec(2), wait(2), exit(3)