Debian Codegraph @

templates/man3/exit.3.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:23+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 "exit"
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 "exit - cause normal process termination"
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>stdlib.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<[[noreturn]] void exit(int >I<status>B<);>\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-unstable mageia-cauldron opensuse-leap-16-1
95 #: opensuse-tumbleweed
96 msgid ""
97 "The B<exit>() function causes normal process termination and the least "
98 "significant byte of I<status> (i.e., I<status\\ &\\ 0xFF>) is returned to "
99 "the parent (see B<wait>(2))."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "All functions registered with B<atexit>(3) and B<on_exit>(3) are called, "
107 "in the reverse order of their registration. (It is possible for one of "
108 "these functions to use B<atexit>(3) or B<on_exit>(3) to register an "
109 "additional function to be executed during exit processing; the new "
110 "registration is added to the front of the list of functions that remain to "
111 "be called.) If one of these functions does not return (e.g., it calls "
112 "B<_exit>(2), or kills itself with a signal), then none of the remaining "
113 "functions is called, and further exit processing (in particular, flushing of "
114 "B<stdio>(3) streams) is abandoned. If a function has been registered "
115 "multiple times using B<atexit>(3) or B<on_exit>(3), then it is called as "
116 "many times as it was registered."
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "All open B<stdio>(3) streams are flushed and closed. Files created by "
124 "B<tmpfile>(3) are removed."
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 "The C standard specifies two constants, B<EXIT_SUCCESS> and B<EXIT_FAILURE>, "
132 "that may be passed to B<exit>() to indicate successful or unsuccessful "
133 "termination, respectively."
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 "RETURN VALUE"
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid "The B<exit>() function does not return."
147 msgstr ""
148
149 #. type: SH
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "ATTRIBUTES"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "For an explanation of the terms used in this section, see B<attributes>(7)."
161 msgstr ""
162
163 #. type: tbl table
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "Interface"
168 msgstr ""
169
170 #. type: tbl table
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "Attribute"
175 msgstr ""
176
177 #. type: tbl table
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "Value"
182 msgstr ""
183
184 #. type: tbl table
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid ".na\n"
189 msgstr ""
190
191 #. type: tbl table
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid ".nh\n"
196 msgstr ""
197
198 #. type: tbl table
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<exit>()"
203 msgstr ""
204
205 #. type: tbl table
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "Thread safety"
210 msgstr ""
211
212 #. type: tbl table
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "MT-Unsafe race:exit"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "The B<exit>() function uses a global variable that is not protected, so it "
224 "is not thread-safe."
225 msgstr ""
226
227 #. type: SH
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "STANDARDS"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "C11, POSIX.1-2008."
238 msgstr ""
239
240 #. type: SH
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "HISTORY"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid "C89, POSIX.1-2001, SVr4, 4.3BSD."
251 msgstr ""
252
253 #. type: SH
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "NOTES"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "The behavior is undefined if one of the functions registered using "
265 "B<atexit>(3) and B<on_exit>(3) calls either B<exit>() or B<longjmp>(3). "
266 "Note that a call to B<execve>(2) removes registrations created using "
267 "B<atexit>(3) and B<on_exit>(3)."
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "The use of B<EXIT_SUCCESS> and B<EXIT_FAILURE> is slightly more portable (to "
275 "non-UNIX environments) than the use of 0 and some nonzero value like 1 or "
276 "-1. In particular, VMS uses a different convention."
277 msgstr ""
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "BSD has attempted to standardize exit codes (which some C libraries such as "
284 "the GNU C library have also adopted); see the file I<E<lt>sysexits.hE<gt>>."
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "After B<exit>(), the exit status must be transmitted to the parent process. "
292 "There are three cases:"
293 msgstr ""
294
295 #. type: IP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "\\[bu]"
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "If the parent has set B<SA_NOCLDWAIT>, or has set the B<SIGCHLD> handler to "
307 "B<SIG_IGN>, the status is discarded and the child dies immediately."
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "If the parent was waiting on the child, it is notified of the exit status "
315 "and the child dies immediately."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "Otherwise, the child becomes a \"zombie\" process: most of the process "
323 "resources are recycled, but a slot containing minimal information about the "
324 "child process (termination status, resource usage statistics) is retained in "
325 "process table. This allows the parent to subsequently use B<waitpid>(2) "
326 "(or similar) to learn the termination status of the child; at that point the "
327 "zombie process slot is released."
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "If the implementation supports the B<SIGCHLD> signal, this signal is sent to "
335 "the parent. If the parent has set B<SA_NOCLDWAIT>, it is undefined whether "
336 "a B<SIGCHLD> signal is sent."
337 msgstr ""
338
339 #. type: SS
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "Signals sent to other processes"
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "If the exiting process is a session leader and its controlling terminal is "
351 "the controlling terminal of the session, then each process in the foreground "
352 "process group of this controlling terminal is sent a B<SIGHUP> signal, and "
353 "the terminal is disassociated from this session, allowing it to be acquired "
354 "by a new controlling process."
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "If the exit of the process causes a process group to become orphaned, and if "
362 "any member of the newly orphaned process group is stopped, then a B<SIGHUP> "
363 "signal followed by a B<SIGCONT> signal will be sent to each process in this "
364 "process group. See B<setpgid>(2) for an explanation of orphaned process "
365 "groups."
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "Except in the above cases, where the signalled processes may be children of "
373 "the terminating process, termination of a process does I<not> in general "
374 "cause a signal to be sent to children of that process. However, a process "
375 "can use the B<prctl>(2) B<PR_SET_PDEATHSIG> operation to arrange that it "
376 "receives a signal if its parent terminates."
377 msgstr ""
378
379 #. type: SH
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "SEE ALSO"
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "B<_exit>(2), B<get_robust_list>(2), B<setpgid>(2), B<wait>(2), B<atexit>(3), "
391 "B<on_exit>(3), B<tmpfile>(3)"
392 msgstr ""
393
394 #. type: TH
395 #: debian-trixie
396 #, no-wrap
397 msgid "2024-05-02"
398 msgstr ""
399
400 #. type: TH
401 #: debian-trixie
402 #, no-wrap
403 msgid "Linux man-pages 6.9.1"
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie
408 msgid "Standard C library (I<libc>, I<-lc>)"
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie fedora-44 fedora-rawhide
413 msgid ""
414 "The B<exit>() function causes normal process termination and the least "
415 "significant byte of I<status> (i.e., I<status & 0xFF>) is returned to the "
416 "parent (see B<wait>(2))."
417 msgstr ""
418
419 #. type: TH
420 #: fedora-44 fedora-rawhide
421 #, no-wrap
422 msgid "2024-07-23"
423 msgstr ""
424
425 #. type: TH
426 #: fedora-44 fedora-rawhide
427 #, no-wrap
428 msgid "Linux man-pages 6.13"
429 msgstr ""
430
431 #. type: TH
432 #: mageia-cauldron
433 #, no-wrap
434 msgid "Linux man-pages 6.17"
435 msgstr ""
436
437 #. type: TH
438 #: opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "Linux man-pages (unreleased)"
441 msgstr ""