diff options
| -rw-r--r-- | man2/setpgid.2 | 10 | ||||
| -rw-r--r-- | man2/setsid.2 | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/man2/setpgid.2 b/man2/setpgid.2 index 3bbbb40caa..73647b6363 100644 --- a/man2/setpgid.2 +++ b/man2/setpgid.2 @@ -317,16 +317,6 @@ calls are used by programs such as .BR bash (1) to create process groups in order to implement shell job control. -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 -.B SIGHUP -signal will also be sent to each process in the foreground -process group of the controlling terminal. - If the exit of the process causes a process group to become orphaned, and if any member of the newly orphaned process group is stopped, then a .B SIGHUP diff --git a/man2/setsid.2 b/man2/setsid.2 index 089bf26ce4..57eeb891f6 100644 --- a/man2/setsid.2 +++ b/man2/setsid.2 @@ -90,6 +90,16 @@ and .BR _exit (2), and have the child do .BR setsid (). + +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 +.B SIGHUP +signal will also be sent to each process in the foreground +process group of the controlling terminal. .SH SEE ALSO .BR setsid (1), .BR getsid (2), |
