Debian Codegraph @

templates/man2/setsid.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "setsid"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "setsid - creates a session and sets the process group ID"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>unistd.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<pid_t setsid(void);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "B<setsid>() creates a new session if the calling process is not a process "
98 "group leader. The calling process is the leader of the new session (i.e., "
99 "its session ID is made the same as its process ID). The calling process "
100 "also becomes the process group leader of a new process group in the session "
101 "(i.e., its process group ID is made the same as its process ID)."
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "The calling process will be the only process in the new process group and in "
109 "the new session."
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "Initially, the new session has no controlling terminal. For details of how "
117 "a session acquires a controlling terminal, see B<credentials>(7)."
118 msgstr ""
119
120 #. type: SH
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid "RETURN VALUE"
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "On success, the (new) session ID of the calling process is returned. On "
132 "error, I<(pid_t)\\ -1> is returned, and I<errno> is set to indicate the "
133 "error."
134 msgstr ""
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "ERRORS"
141 msgstr ""
142
143 #. type: TP
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "B<EPERM>"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "The process group ID of any process equals the PID of the calling process. "
155 "Thus, in particular, B<setsid>() fails if the calling process is already a "
156 "process group leader."
157 msgstr ""
158
159 #. type: SH
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "STANDARDS"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
168 #: opensuse-tumbleweed
169 msgid "POSIX.1-2024."
170 msgstr ""
171
172 #. type: SH
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "HISTORY"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid "POSIX.1-2001, SVr4."
183 msgstr ""
184
185 #. type: SH
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "NOTES"
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "A child created via B<fork>(2) inherits its parent's session ID. The "
197 "session ID is preserved across an B<execve>(2)."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "A process group leader is a process whose process group ID equals its PID. "
205 "Disallowing a process group leader from calling B<setsid>() prevents the "
206 "possibility that a process group leader places itself in a new session while "
207 "other processes in the process group remain in the original session; such a "
208 "scenario would break the strict two-level hierarchy of sessions and process "
209 "groups. In order to be sure that B<setsid>() will succeed, call "
210 "B<fork>(2) and have the parent B<_exit>(2), while the child (which by "
211 "definition can't be a process group leader) calls B<setsid>()."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "If a session has a controlling terminal, and the B<CLOCAL> flag for that "
219 "terminal is not set, and a terminal hangup occurs, then the session leader "
220 "is sent a B<SIGHUP> signal."
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "If a process that is a session leader terminates, then a B<SIGHUP> signal is "
228 "sent to each process in the foreground process group of the controlling "
229 "terminal."
230 msgstr ""
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "SEE ALSO"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "B<setsid>(1), B<getsid>(2), B<setpgid>(2), B<setpgrp>(2), B<tcgetsid>(3), "
244 "B<credentials>(7), B<sched>(7)"
245 msgstr ""
246
247 #. type: TH
248 #: debian-trixie
249 #, no-wrap
250 msgid "2024-05-02"
251 msgstr ""
252
253 #. type: TH
254 #: debian-trixie
255 #, no-wrap
256 msgid "Linux man-pages 6.9.1"
257 msgstr ""
258
259 #. type: Plain text
260 #: debian-trixie
261 msgid "Standard C library (I<libc>, I<-lc>)"
262 msgstr ""
263
264 #. type: Plain text
265 #: debian-trixie fedora-44 fedora-rawhide
266 msgid "POSIX.1-2008."
267 msgstr ""
268
269 #. type: TH
270 #: fedora-44 fedora-rawhide
271 #, no-wrap
272 msgid "2024-07-23"
273 msgstr ""
274
275 #. type: TH
276 #: fedora-44 fedora-rawhide
277 #, no-wrap
278 msgid "Linux man-pages 6.13"
279 msgstr ""
280
281 #. type: TH
282 #: mageia-cauldron
283 #, no-wrap
284 msgid "Linux man-pages 6.17"
285 msgstr ""
286
287 #. type: TH
288 #: opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "Linux man-pages (unreleased)"
291 msgstr ""