aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 06:49:14 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 06:49:14 +0100
commitb40e567a40b36bdcd778d591a6980832e0ecccd5 (patch)
treeefe8c367ff5a3cd42fc86d4039a294a3a03e5c70 /man2
parent7903f95f0a694b441ac6fa6ef8579ab7cc5b0902 (diff)
downloadman-pages-b40e567a40b36bdcd778d591a6980832e0ecccd5.tar.gz
setsid.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
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),