diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:51:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:51:52 +0000 |
commit | 4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch) | |
tree | 3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/debian-unstable/man2/setsid.2 | |
parent | Adding upstream version 4.22.0. (diff) | |
download | manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip |
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man2/setsid.2')
-rw-r--r-- | upstream/debian-unstable/man2/setsid.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/upstream/debian-unstable/man2/setsid.2 b/upstream/debian-unstable/man2/setsid.2 index ae040282..a0f0506c 100644 --- a/upstream/debian-unstable/man2/setsid.2 +++ b/upstream/debian-unstable/man2/setsid.2 @@ -9,7 +9,7 @@ .\" tiny changes from a man page by Charles Livingston). .\" Modified Sun Jul 21 14:45:46 1996 <aeb@cwi.nl> .\" -.TH setsid 2 2023-03-30 "Linux man-pages 6.05.01" +.TH setsid 2 2024-05-02 "Linux man-pages 6.8" .SH NAME setsid \- creates a session and sets the process group ID .SH LIBRARY @@ -18,7 +18,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <unistd.h> -.PP +.P .B pid_t setsid(void); .fi .SH DESCRIPTION @@ -30,10 +30,10 @@ The calling process is the leader of the new session The calling process also becomes the process group leader of a new process group in the session (i.e., its process group ID is made the same as its process ID). -.PP +.P The calling process will be the only process in the new process group and in the new session. -.PP +.P Initially, the new session has no controlling terminal. For details of how a session acquires a controlling terminal, see .BR credentials (7). @@ -61,7 +61,7 @@ A child created via inherits its parent's session ID. The session ID is preserved across an .BR execve (2). -.PP +.P A process group leader is a process whose process group ID equals its PID. Disallowing a process group leader from calling .BR setsid () @@ -78,14 +78,14 @@ and have the parent .BR _exit (2), while the child (which by definition can't be a process group leader) calls .BR setsid (). -.PP +.P 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 .B SIGHUP signal. -.PP +.P If a process that is a session leader terminates, then a .B SIGHUP signal is sent to each process in the foreground |