aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/setsid.28
1 files changed, 5 insertions, 3 deletions
diff --git a/man2/setsid.2 b/man2/setsid.2
index 57eeb891f6..3d1a8e1174 100644
--- a/man2/setsid.2
+++ b/man2/setsid.2
@@ -95,10 +95,12 @@ If a session has a controlling terminal, and the
.B CLOCAL
flag for that terminal is not set,
and a terminal hangup occurs, then the session leader is sent a
-.BR SIGHUP .
-If the session leader exits, then a
+.BR SIGHUP
+signal.
+
+If a process that is a session leader terminates, then a
.B SIGHUP
-signal will also be sent to each process in the foreground
+signal is sent to each process in the foreground
process group of the controlling terminal.
.SH SEE ALSO
.BR setsid (1),