Debian Codegraph @

po/pt_BR/man3/atexit.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Paulo César Mendes <[email protected]>, 2000.
5 # André Luiz Fassone <[email protected]>, 2000.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:18+0200\n"
10 "PO-Revision-Date: 2000-05-31 16:23+0200\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "atexit"
26 msgstr "atexit"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, fuzzy
53 #| msgid ""
54 #| "atexit - register a function to be called at normal program termination."
55 msgid "atexit - register a function to be called at normal process termination"
56 msgstr "atexit - chama uma função quando o programa terminar nornmalmente."
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "BIBLIOTECA"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "SINOPSE"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
83 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
87 #: opensuse-leap-16-1 opensuse-tumbleweed
88 #, fuzzy, no-wrap
89 #| msgid "B<int atexit(void (*>I<function>B<)(void));>\n"
90 msgid "B<int atexit(typeof(void (void)) *>I<function>B<);>\n"
91 msgstr "B<int atexit(void (*>I<function>B<)(void));>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "DESCRIÇÃO"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, fuzzy
104 #| msgid ""
105 #| "The B<atexit()> function registers the given I<function> to be called at "
106 #| "normal program termination, whether via B<exit>(3) or via return from "
107 #| "the program's B<main>. Functions so registered are called in the reverse "
108 #| "order of their registration; no arguments are passed."
109 msgid ""
110 "The B<atexit>() function registers the given I<function> to be called at "
111 "normal process termination, either via B<exit>(3) or via return from the "
112 "program's I<main>(). Functions so registered are called in the reverse "
113 "order of their registration; no arguments are passed."
114 msgstr ""
115 "A função B<atexit>() faz com que I<function> seja chamada quando o programa "
116 "terminar normalmente, o que pode ocorrer via B<exit>(3) ou quando for dado o "
117 "'return' na função B<main>. As funções registradas por último são chamadas "
118 "primeiro e não recebem argumentos."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The same function may be registered multiple times: it is called once for "
125 "each registration."
126 msgstr ""
127
128 #. POSIX.1-2001, POSIX.1-2008
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "POSIX.1 requires that an implementation allow at least B<ATEXIT_MAX> (32) "
134 "such functions to be registered. The actual limit supported by an "
135 "implementation can be obtained using B<sysconf>(3)."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "When a child process is created via B<fork>(2), it inherits copies of its "
143 "parent's registrations. Upon a successful call to one of the B<exec>(3) "
144 "functions, all registrations are removed."
145 msgstr ""
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "RETURN VALUE"
152 msgstr "VALOR DE RETORNO"
153
154 #. type: Plain text
155 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
156 #: opensuse-tumbleweed
157 #, fuzzy
158 #| msgid ""
159 #| "The B<atexit()> function returns the value 0 if successful; otherwise it "
160 #| "returns a nonzero value; I<errno> is not set."
161 msgid ""
162 "The B<atexit>() function returns the value 0 if successful; otherwise, it "
163 "returns a nonzero value."
164 msgstr ""
165 "Em caso de seucesso, devolve 0. Caso contrário, -1 é devolvido mas I<errno> "
166 "não é selecionado."
167
168 #. type: SH
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "ATTRIBUTES"
173 msgstr "ATRIBUTOS"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "For an explanation of the terms used in this section, see B<attributes>(7)."
180 msgstr ""
181 "Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)."
182
183 #. type: tbl table
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "Interface"
188 msgstr "Interface"
189
190 #. type: tbl table
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "Attribute"
195 msgstr "Atributo"
196
197 #. type: tbl table
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "Value"
202 msgstr "Valor"
203
204 #. type: tbl table
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid ".na\n"
209 msgstr ".na\n"
210
211 #. type: tbl table
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid ".nh\n"
216 msgstr ".nh\n"
217
218 #. type: tbl table
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<atexit>()"
223 msgstr "B<atexit>()"
224
225 #. type: tbl table
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "Thread safety"
230 msgstr "Thread safety"
231
232 #. type: tbl table
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "MT-Safe"
237 msgstr "MT-Safe"
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "VERSIONS"
244 msgstr "VERSÕES"
245
246 #. POSIX.1-2001, POSIX.1-2008
247 #. This can happen on OpenBSD 4.2 for example, and is documented
248 #. as occurring on FreeBSD as well.
249 #. glibc does "the Right Thing" -- invocation of the remaining
250 #. exit handlers carries on as normal.
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "POSIX.1 says that the result of calling B<exit>(3) more than once (i.e., "
256 "calling B<exit>(3) within a function registered using B<atexit>()) is "
257 "undefined. On some systems (but not Linux), this can result in an infinite "
258 "recursion; portable programs should not invoke B<exit>(3) inside a function "
259 "registered using B<atexit>()."
260 msgstr ""
261
262 #. type: SH
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "STANDARDS"
267 msgstr "PADRÕES"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "C11, POSIX.1-2008."
273 msgstr "C11, POSIX.1-2008."
274
275 #. type: SH
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "HISTORY"
280 msgstr "HISTÓRICO"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "POSIX.1-2001, C89, C99, SVr4, 4.3BSD."
286 msgstr "POSIX.1-2001, C89, C99, SVr4, 4.3BSD."
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "NOTES"
293 msgstr "NOTAS"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "Functions registered using B<atexit>() (and B<on_exit>(3)) are not called "
300 "if a process terminates abnormally because of the delivery of a signal."
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "If one of the registered functions calls B<_exit>(2), then any remaining "
308 "functions are not invoked, and the other process termination steps performed "
309 "by B<exit>(3) are not performed."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, fuzzy
316 #| msgid ""
317 #| "The B<atexit()> function registers the given I<function> to be called at "
318 #| "normal program termination, whether via B<exit>(3) or via return from "
319 #| "the program's B<main>. Functions so registered are called in the reverse "
320 #| "order of their registration; no arguments are passed."
321 msgid ""
322 "The B<atexit>() and B<on_exit>(3) functions register functions on the same "
323 "list: at normal process termination, the registered functions are invoked in "
324 "reverse order of their registration by these two functions."
325 msgstr ""
326 "A função B<atexit>() faz com que I<function> seja chamada quando o programa "
327 "terminar normalmente, o que pode ocorrer via B<exit>(3) ou quando for dado o "
328 "'return' na função B<main>. As funções registradas por último são chamadas "
329 "primeiro e não recebem argumentos."
330
331 #. In glibc, things seem to be handled okay
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "According to POSIX.1, the result is undefined if B<longjmp>(3) is used to "
337 "terminate execution of one of the functions registered using B<atexit>()."
338 msgstr ""
339
340 #. type: SS
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "Linux notes"
345 msgstr "Notas sobre Linux"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "Since glibc 2.2.3, B<atexit>() (and B<on_exit>(3)) can be used within a "
352 "shared library to establish functions that are called when the shared "
353 "library is unloaded."
354 msgstr ""
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "EXAMPLES"
361 msgstr "EXEMPLOS"
362
363 #. type: Plain text
364 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 #, no-wrap
367 msgid ""
368 "#include E<lt>stdio.hE<gt>\n"
369 "#include E<lt>stdlib.hE<gt>\n"
370 "#include E<lt>unistd.hE<gt>\n"
371 "\\&\n"
372 "static void\n"
373 "bye(void)\n"
374 "{\n"
375 " printf(\"That was all, folks\\[rs]n\");\n"
376 "}\n"
377 "\\&\n"
378 "int\n"
379 "main(void)\n"
380 "{\n"
381 " long a;\n"
382 " int i;\n"
383 "\\&\n"
384 " a = sysconf(_SC_ATEXIT_MAX);\n"
385 " printf(\"ATEXIT_MAX = %ld\\[rs]n\", a);\n"
386 "\\&\n"
387 " i = atexit(bye);\n"
388 " if (i != 0) {\n"
389 " fprintf(stderr, \"cannot set exit function\\[rs]n\");\n"
390 " exit(EXIT_FAILURE);\n"
391 " }\n"
392 "\\&\n"
393 " exit(EXIT_SUCCESS);\n"
394 "}\n"
395 msgstr ""
396
397 #. SRC END
398 #. type: SH
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "SEE ALSO"
403 msgstr "VEJA TAMBÉM"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid "B<_exit>(2), B<dlopen>(3), B<exit>(3), B<on_exit>(3)"
409 msgstr "B<_exit>(2), B<dlopen>(3), B<exit>(3), B<on_exit>(3)"
410
411 #. type: TH
412 #: debian-trixie
413 #, no-wrap
414 msgid "2024-06-15"
415 msgstr "15 junho 2024"
416
417 #. type: TH
418 #: debian-trixie
419 #, no-wrap
420 msgid "Linux man-pages 6.9.1"
421 msgstr "Linux man-pages 6.9.1"
422
423 #. type: Plain text
424 #: debian-trixie
425 msgid "Standard C library (I<libc>, I<-lc>)"
426 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
427
428 #. type: Plain text
429 #: debian-trixie
430 #, no-wrap
431 msgid "B<int atexit(void (*>I<function>B<)(void));>\n"
432 msgstr "B<int atexit(void (*>I<function>B<)(void));>\n"
433
434 #. type: Plain text
435 #: debian-trixie fedora-44 fedora-rawhide
436 #, fuzzy
437 #| msgid ""
438 #| "The B<atexit()> function returns the value 0 if successful; otherwise it "
439 #| "returns a nonzero value; I<errno> is not set."
440 msgid ""
441 "The B<atexit>() function returns the value 0 if successful; otherwise it "
442 "returns a nonzero value."
443 msgstr ""
444 "Em caso de seucesso, devolve 0. Caso contrário, -1 é devolvido mas I<errno> "
445 "não é selecionado."
446
447 #. type: Plain text
448 #: debian-trixie fedora-44 fedora-rawhide
449 #, no-wrap
450 msgid ""
451 "#include E<lt>stdio.hE<gt>\n"
452 "#include E<lt>stdlib.hE<gt>\n"
453 "#include E<lt>unistd.hE<gt>\n"
454 "\\&\n"
455 "void\n"
456 "bye(void)\n"
457 "{\n"
458 " printf(\"That was all, folks\\[rs]n\");\n"
459 "}\n"
460 "\\&\n"
461 "int\n"
462 "main(void)\n"
463 "{\n"
464 " long a;\n"
465 " int i;\n"
466 "\\&\n"
467 " a = sysconf(_SC_ATEXIT_MAX);\n"
468 " printf(\"ATEXIT_MAX = %ld\\[rs]n\", a);\n"
469 "\\&\n"
470 " i = atexit(bye);\n"
471 " if (i != 0) {\n"
472 " fprintf(stderr, \"cannot set exit function\\[rs]n\");\n"
473 " exit(EXIT_FAILURE);\n"
474 " }\n"
475 "\\&\n"
476 " exit(EXIT_SUCCESS);\n"
477 "}\n"
478 msgstr ""
479
480 #. type: TH
481 #: fedora-44 fedora-rawhide
482 #, no-wrap
483 msgid "2024-12-13"
484 msgstr "13 dezembro 2024"
485
486 #. type: TH
487 #: fedora-44 fedora-rawhide
488 #, no-wrap
489 msgid "Linux man-pages 6.13"
490 msgstr "Linux man-pages 6.13"
491
492 #. type: TH
493 #: mageia-cauldron
494 #, no-wrap
495 msgid "Linux man-pages 6.17"
496 msgstr "Linux man-pages 6.17"
497
498 #. type: TH
499 #: opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "Linux man-pages (unreleased)"
502 msgstr "Linux man-pages (não lançado)"