Debian Codegraph @

po/pt_BR/man2/fork.2.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 # André Luiz Fassone <[email protected]>, 2000.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
9 "PO-Revision-Date: 2000-08-21 23:50+0200\n"
10 "Last-Translator: André Luiz Fassone <[email protected]>\n"
11 "Language-Team: Brazilian Portuguese <debian-l10n-"
12 "[email protected]>\n"
13 "Language: pt_BR\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18 "X-Generator: Lokalize 20.04.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "fork"
25 msgstr "fork"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 fevereiro 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOME"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "fork - create a child process"
52 msgstr "fork - cria um processo filho"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSE"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, fuzzy, no-wrap
85 #| msgid "B<pid_t fork(void);>"
86 msgid "B<pid_t fork(void);>\n"
87 msgstr "B<pid_t fork(void);>"
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "DESCRIÇÃO"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "B<fork>() creates a new process by duplicating the calling process. The "
101 "new process is referred to as the I<child> process. The calling process is "
102 "referred to as the I<parent> process."
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "The child process and the parent process run in separate memory spaces. At "
110 "the time of B<fork>() both memory spaces have the same content. Memory "
111 "writes, file mappings (B<mmap>(2)), and unmappings (B<munmap>(2)) performed "
112 "by one of the processes do not affect the other."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The child process is an exact duplicate of the parent process except for the "
120 "following points:"
121 msgstr ""
122
123 #. type: IP
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "\\[bu]"
128 msgstr "\\[bu]"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "The child has its own unique process ID, and this PID does not match the ID "
135 "of any existing process group (B<setpgid>(2)) or session."
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 "The child's parent process ID is the same as the parent's process ID."
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "The child does not inherit its parent's memory locks (B<mlock>(2), "
149 "B<mlockall>(2))."
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "Process resource utilizations (B<getrusage>(2)) and CPU time counters "
157 "(B<times>(2)) are reset to zero in the child."
158 msgstr ""
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "The child's set of pending signals is initially empty (B<sigpending>(2))."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The child does not inherit semaphore adjustments from its parent "
172 "(B<semop>(2))."
173 msgstr ""
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 "The child does not inherit process-associated record locks from its parent "
180 "(B<fcntl>(2)). (On the other hand, it does inherit B<fcntl>(2) open file "
181 "description locks and B<flock>(2) locks from its parent.)"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "The child does not inherit timers from its parent (B<setitimer>(2), "
189 "B<alarm>(2), B<timer_create>(2))."
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 "The child does not inherit outstanding asynchronous I/O operations from its "
197 "parent (B<aio_read>(3), B<aio_write>(3)), nor does it inherit any "
198 "asynchronous I/O contexts from its parent (see B<io_setup>(2))."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The process attributes in the preceding list are all specified in POSIX.1. "
206 "The parent and child also differ with respect to the following Linux-"
207 "specific process attributes:"
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "The child does not inherit directory change notifications (dnotify) from "
215 "its parent (see the description of B<F_NOTIFY> in B<fcntl>(2))."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The B<prctl>(2) B<PR_SET_PDEATHSIG> setting is reset so that the child does "
223 "not receive a signal when its parent terminates."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "The default timer slack value is set to the parent's current timer slack "
231 "value. See the description of B<PR_SET_TIMERSLACK> in B<prctl>(2)."
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 ""
238 "Memory mappings that have been marked with the B<madvise>(2) "
239 "B<MADV_DONTFORK> flag are not inherited across a B<fork>()."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "Memory in address ranges that have been marked with the B<madvise>(2) "
247 "B<MADV_WIPEONFORK> flag is zeroed in the child after a B<fork>(). (The "
248 "B<MADV_WIPEONFORK> setting remains in place for those address ranges in the "
249 "child.)"
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "The termination signal of the child is always B<SIGCHLD> (see B<clone>(2))."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "The port access permission bits set by B<ioperm>(2) are not inherited by "
264 "the child; the child must turn on any bits that it requires using "
265 "B<ioperm>(2)."
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid "Note the following further points:"
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "The child process is created with a single thread\\[em]the one that called "
279 "B<fork>(). The entire virtual address space of the parent is replicated in "
280 "the child, including the states of mutexes, condition variables, and other "
281 "pthreads objects; the use of B<pthread_atfork>(3) may be helpful for "
282 "dealing with problems that this can cause."
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "After a B<fork>() in a multithreaded program, the child can safely call "
290 "only async-signal-safe functions (see B<signal-safety>(7)) until such time "
291 "as it calls B<execve>(2)."
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "The child inherits copies of the parent's set of open file descriptors. "
299 "Each file descriptor in the child refers to the same open file description "
300 "(see B<open>(2)) as the corresponding file descriptor in the parent. This "
301 "means that the two file descriptors share open file status flags, file "
302 "offset, and signal-driven I/O attributes (see the description of B<F_SETOWN> "
303 "and B<F_SETSIG> in B<fcntl>(2))."
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "The child inherits copies of the parent's set of open message queue "
311 "descriptors (see B<mq_overview>(7)). Each file descriptor in the child "
312 "refers to the same open message queue description as the corresponding file "
313 "descriptor in the parent. This means that the two file descriptors share "
314 "the same flags (I<mq_flags>)."
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The child inherits copies of the parent's set of open directory streams (see "
322 "B<opendir>(3)). POSIX.1 says that the corresponding directory streams in "
323 "the parent and child I<may> share the directory stream positioning; on Linux/"
324 "glibc they do not."
325 msgstr ""
326
327 #. type: SH
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "RETURN VALUE"
332 msgstr "VALOR DE RETORNO"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, fuzzy
338 #| msgid ""
339 #| "On success, the PID of the child process is returned in the parent's "
340 #| "thread of execution, and a 0 is returned in the child's thread of "
341 #| "execution. On failure, a -1 will be returned in the parent's context, no "
342 #| "child process will be created, and I<errno> will be set appropriately."
343 msgid ""
344 "On success, the PID of the child process is returned in the parent, and 0 is "
345 "returned in the child. On failure, -1 is returned in the parent, no child "
346 "process is created, and I<errno> is set to indicate the error."
347 msgstr ""
348 "Em caso de sucesso, a PID do processo filho é devolvida na thread pai de "
349 "execução, e um 0 é retornado na thread filha de execução. Caso contrário, um "
350 "-1 será retornado no contexo pai, e nenhum processo filho será criado, e "
351 "I<errno> será selecionado adequadamente."
352
353 #. type: SH
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "ERRORS"
358 msgstr "ERROS"
359
360 #. type: TP
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "B<EAGAIN>"
365 msgstr "B<EAGAIN>"
366
367 #. NOTE! The following should match the description in pthread_create(3)
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 "A system-imposed limit on the number of threads was encountered. There are "
373 "a number of limits that may trigger this error:"
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "the B<RLIMIT_NPROC> soft resource limit (set via B<setrlimit>(2)), which "
381 "limits the number of processes and threads for a real user ID, was reached;"
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "the kernel's system-wide limit on the number of processes and threads, I</"
389 "proc/sys/kernel/threads-max>, was reached (see B<proc>(5));"
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "the maximum number of PIDs, I</proc/sys/kernel/pid_max>, was reached (see "
397 "B<proc>(5)); or"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "the PID limit (I<pids.max>) imposed by the cgroup \"process number\" (PIDs) "
405 "controller was reached."
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid ""
412 "The caller is operating under the B<SCHED_DEADLINE> scheduling policy and "
413 "does not have the reset-on-fork flag set. See B<sched>(7)."
414 msgstr ""
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<ENOMEM>"
421 msgstr "B<ENOMEM>"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "B<fork>() failed to allocate the necessary kernel structures because memory "
428 "is tight."
429 msgstr ""
430 "B<fork>() falhou ao alocar as estruturas do kernel necessárias porque a "
431 "memória é pequena."
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "An attempt was made to create a child process in a PID namespace whose "
438 "\"init\" process has terminated. See B<pid_namespaces>(7)."
439 msgstr ""
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<ENOSYS>"
446 msgstr "B<ENOSYS>"
447
448 #. e.g., arm (optionally), blackfin, c6x, frv, h8300, microblaze, xtensa
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "B<fork>() is not supported on this platform (for example, hardware without "
454 "a Memory-Management Unit)."
455 msgstr ""
456
457 #. type: TP
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "B<ERESTARTNOINTR> (since Linux 2.6.17)"
462 msgstr ""
463
464 #. commit 4a2c7a7837da1b91468e50426066d988050e4d56
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "System call was interrupted by a signal and will be restarted. (This can be "
470 "seen only during a trace.)"
471 msgstr ""
472
473 #. type: SH
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "VERSIONS"
478 msgstr "VERSÕES"
479
480 #. type: SS
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "C library/kernel differences"
485 msgstr "Diferenças entre kernel/biblioteca C"
486
487 #. nptl/sysdeps/unix/sysv/linux/fork.c
488 #. and does some magic to ensure that getpid(2) returns the right value.
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "Since glibc 2.3.3, rather than invoking the kernel's B<fork>() system call, "
494 "the glibc B<fork>() wrapper that is provided as part of the NPTL threading "
495 "implementation invokes B<clone>(2) with flags that provide the same effect "
496 "as the traditional system call. (A call to B<fork>() is equivalent to a "
497 "call to B<clone>(2) specifying I<flags> as just B<SIGCHLD>.) The glibc "
498 "wrapper invokes any fork handlers that have been established using "
499 "B<pthread_atfork>(3)."
500 msgstr ""
501
502 #. type: SS
503 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
504 #: opensuse-tumbleweed
505 #, no-wrap
506 msgid "Async-signal safety"
507 msgstr ""
508
509 #. type: Plain text
510 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
511 #: opensuse-tumbleweed
512 msgid "B<_Fork>(3) is an async-signal safe variant of B<fork>(2)."
513 msgstr ""
514
515 #. type: SH
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "STANDARDS"
520 msgstr "PADRÕES"
521
522 #. type: Plain text
523 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
524 #: opensuse-tumbleweed
525 msgid "POSIX.1-2024."
526 msgstr "POSIX.1-2024."
527
528 #. type: SH
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "HISTORY"
533 msgstr "HISTÓRICO"
534
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 msgid "4.3BSD, SVr4, POSIX.1-1988."
539 msgstr "4.3BSD, SVr4, POSIX.1-1988."
540
541 #. type: SH
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "NOTES"
546 msgstr "NOTAS"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, fuzzy
552 #| msgid ""
553 #| "Under Linux, B<fork> is implemented using copy-on-write pages, so the "
554 #| "only penalty incurred by fork is the time and memory required to "
555 #| "duplicate the parent's page tables, and to create a unique task structure "
556 #| "for the child."
557 msgid ""
558 "Under Linux, B<fork>() is implemented using copy-on-write pages, so the "
559 "only penalty that it incurs is the time and memory required to duplicate the "
560 "parent's page tables, and to create a unique task structure for the child."
561 msgstr ""
562 "No Linux, B<fork> is implemented using copy-on-write pages, so the only "
563 "penalty incurred by fork is the time and memory required to duplicate the "
564 "parent's page tables, and to create a unique task structure for the child."
565
566 #. type: SH
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "EXAMPLES"
571 msgstr "EXEMPLOS"
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid "See B<pipe>(2) and B<wait>(2) for more examples."
577 msgstr ""
578
579 #. type: Plain text
580 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
581 #: opensuse-leap-16-1 opensuse-tumbleweed
582 #, no-wrap
583 msgid ""
584 "#include E<lt>signal.hE<gt>\n"
585 "#include E<lt>stdint.hE<gt>\n"
586 "#include E<lt>stdio.hE<gt>\n"
587 "#include E<lt>stdlib.hE<gt>\n"
588 "#include E<lt>sys/types.hE<gt>\n"
589 "#include E<lt>unistd.hE<gt>\n"
590 "\\&\n"
591 "int\n"
592 "main(void)\n"
593 "{\n"
594 " pid_t pid;\n"
595 "\\&\n"
596 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
597 " perror(\"signal\");\n"
598 " exit(EXIT_FAILURE);\n"
599 " }\n"
600 " pid = fork();\n"
601 " switch (pid) {\n"
602 " case -1:\n"
603 " perror(\"fork\");\n"
604 " exit(EXIT_FAILURE);\n"
605 " case 0:\n"
606 " puts(\"Child exiting.\");\n"
607 " fflush(stdout);\n"
608 " _exit(EXIT_SUCCESS);\n"
609 " default:\n"
610 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
611 " puts(\"Parent exiting.\");\n"
612 " exit(EXIT_SUCCESS);\n"
613 " }\n"
614 "}\n"
615 msgstr ""
616
617 #. SRC END
618 #. type: SH
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "SEE ALSO"
623 msgstr "VEJA TAMBÉM"
624
625 #. type: Plain text
626 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
627 #: opensuse-tumbleweed
628 #, fuzzy
629 #| msgid ""
630 #| "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
631 #| "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
632 #| "B<capabilities>(7), B<credentials>(7)"
633 msgid ""
634 "B<clone>(2), B<execve>(2), B<exit>(2), B<_exit>(2), B<setrlimit>(2), "
635 "B<unshare>(2), B<vfork>(2), B<wait>(2), B<daemon>(3), B<_Fork>(3), "
636 "B<pthread_atfork>(3), B<capabilities>(7), B<credentials>(7)"
637 msgstr ""
638 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
639 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
640 "B<capabilities>(7), B<credentials>(7)"
641
642 #. type: TH
643 #: debian-trixie
644 #, no-wrap
645 msgid "2024-06-15"
646 msgstr "15 junho 2024"
647
648 #. type: TH
649 #: debian-trixie
650 #, no-wrap
651 msgid "Linux man-pages 6.9.1"
652 msgstr "Linux man-pages 6.9.1"
653
654 #. type: Plain text
655 #: debian-trixie
656 msgid "Standard C library (I<libc>, I<-lc>)"
657 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
658
659 #. type: Plain text
660 #: debian-trixie fedora-44 fedora-rawhide
661 msgid "POSIX.1-2008."
662 msgstr "POSIX.1-2008."
663
664 #. type: Plain text
665 #: debian-trixie fedora-44 fedora-rawhide
666 msgid "POSIX.1-2001, SVr4, 4.3BSD."
667 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
668
669 #. type: Plain text
670 #: debian-trixie
671 #, no-wrap
672 msgid ""
673 "#include E<lt>signal.hE<gt>\n"
674 "#include E<lt>stdint.hE<gt>\n"
675 "#include E<lt>stdio.hE<gt>\n"
676 "#include E<lt>stdlib.hE<gt>\n"
677 "#include E<lt>sys/types.hE<gt>\n"
678 "#include E<lt>unistd.hE<gt>\n"
679 "\\&\n"
680 "int\n"
681 "main(void)\n"
682 "{\n"
683 " pid_t pid;\n"
684 "\\&\n"
685 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
686 " perror(\"signal\");\n"
687 " exit(EXIT_FAILURE);\n"
688 " }\n"
689 " pid = fork();\n"
690 " switch (pid) {\n"
691 " case -1:\n"
692 " perror(\"fork\");\n"
693 " exit(EXIT_FAILURE);\n"
694 " case 0:\n"
695 " puts(\"Child exiting.\");\n"
696 " exit(EXIT_SUCCESS);\n"
697 " default:\n"
698 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
699 " puts(\"Parent exiting.\");\n"
700 " exit(EXIT_SUCCESS);\n"
701 " }\n"
702 "}\n"
703 msgstr ""
704
705 #. type: Plain text
706 #: debian-trixie
707 msgid ""
708 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
709 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
710 "B<capabilities>(7), B<credentials>(7)"
711 msgstr ""
712 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
713 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
714 "B<capabilities>(7), B<credentials>(7)"
715
716 #. type: TH
717 #: fedora-44 fedora-rawhide
718 #, no-wrap
719 msgid "2025-01-14"
720 msgstr "14 janeiro 2025"
721
722 #. type: TH
723 #: fedora-44 fedora-rawhide
724 #, no-wrap
725 msgid "Linux man-pages 6.13"
726 msgstr "Linux man-pages 6.13"
727
728 #. type: Plain text
729 #: fedora-44 fedora-rawhide
730 #, fuzzy
731 #| msgid ""
732 #| "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
733 #| "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
734 #| "B<capabilities>(7), B<credentials>(7)"
735 msgid ""
736 "B<clone>(2), B<execve>(2), B<exit>(2), B<_exit>(2), B<setrlimit>(2), "
737 "B<unshare>(2), B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
738 "B<capabilities>(7), B<credentials>(7)"
739 msgstr ""
740 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
741 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
742 "B<capabilities>(7), B<credentials>(7)"
743
744 #. type: TH
745 #: mageia-cauldron
746 #, no-wrap
747 msgid "Linux man-pages 6.17"
748 msgstr "Linux man-pages 6.17"
749
750 #. type: TH
751 #: opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "Linux man-pages (unreleased)"
754 msgstr "Linux man-pages (não lançado)"