Debian Codegraph @

po/pt_BR/man2/getpid.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 # Ricardo C.O.Freitas <[email protected]>, 2000.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2000-08-21 23:11+0200\n"
11 "Last-Translator: Ricardo C.O.Freitas <[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 "getpid"
26 msgstr "getpid"
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 msgid "getpid, getppid - get process identification"
53 msgstr "getpid, getppid - obtém a identificação do processo"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTECA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSE"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, fuzzy, no-wrap
86 #| msgid "B<pid_t getppid(void);>"
87 msgid ""
88 "B<pid_t getpid(void);>\n"
89 "B<pid_t getppid(void);>\n"
90 msgstr "B<pid_t getppid(void);>"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIÇÃO"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, fuzzy
103 #| msgid ""
104 #| "B<getpid> returns the process ID of the current process. (This is often "
105 #| "used by routines that generate unique temporary file names.)"
106 msgid ""
107 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
108 "often used by routines that generate unique temporary filenames.)"
109 msgstr ""
110 "B<getpid> devolve a ID de processo do processo atual. (Isto é, muitas vezes, "
111 "usado por rotinas que criam unicamente nomes de arquivos temporários.)"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "B<getppid>() returns the process ID of the parent of the calling process. "
118 "This will be either the ID of the process that created this process using "
119 "B<fork>(), or, if that process has already terminated, the ID of the process "
120 "to which this process has been reparented (either B<init>(1) or a "
121 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
122 "operation)."
123 msgstr ""
124
125 #. type: SH
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "ERRORS"
130 msgstr "ERROS"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid "These functions are always successful."
136 msgstr ""
137
138 #. type: SH
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "VERSIONS"
143 msgstr "VERSÕES"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
150 "a single B<getxpid>() system call is provided, which returns a pair of PID "
151 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
152 "transparently deal with this. See B<syscall>(2) for details regarding "
153 "register mapping."
154 msgstr ""
155
156 #. type: SH
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "STANDARDS"
161 msgstr "PADRÕES"
162
163 #. type: Plain text
164 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
165 #: opensuse-tumbleweed
166 msgid "POSIX.1-2024."
167 msgstr "POSIX.1-2024."
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "HISTORY"
174 msgstr "HISTÓRICO"
175
176 #. type: Plain text
177 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
178 #: opensuse-tumbleweed
179 msgid "4.3BSD, SVr4, POSIX.1-1988."
180 msgstr "4.3BSD, SVr4, POSIX.1-1988."
181
182 #. type: SS
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "C library/kernel differences"
187 msgstr "Diferenças entre kernel/biblioteca C"
188
189 #
190 #
191 #
192 #
193 #. The following program demonstrates this "feature":
194 #. #define _GNU_SOURCE
195 #. #include <sys/syscall.h>
196 #. #include <sys/wait.h>
197 #. #include <stdint.h>
198 #. #include <stdio.h>
199 #. #include <stdlib.h>
200 #. #include <unistd.h>
201 #. int
202 #. main(int argc, char *argv[])
203 #. {
204 #. /* The following statement fills the getpid() cache */
205 #. printf("parent PID = %ld
206 #. ", (intmax_t) getpid());
207 #. if (syscall(SYS_fork) == 0) {
208 #. if (getpid() != syscall(SYS_getpid))
209 #. printf("child getpid() mismatch: getpid()=%jd; "
210 #. "syscall(SYS_getpid)=%ld
211 #. ",
212 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
213 #. exit(EXIT_SUCCESS);
214 #. }
215 #. wait(NULL);
216 #. }
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
222 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
223 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
224 "was invisible, but its correct operation relied on support in the wrapper "
225 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
226 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
227 "then a call to B<getpid>() in the child would return the wrong value (to be "
228 "precise: it would return the PID of the parent process). In addition, there "
229 "were cases where B<getpid>() could return the wrong value even when "
230 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
231 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
232 "caching code had been the source of a few bugs within glibc over the years."
233 msgstr ""
234
235 #. commit c579f48edba88380635ab98cb612030e3ed8691e
236 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
237 #. FIXME .
238 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
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 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
244 "removed: calls to B<getpid>() always invoke the actual system call, rather "
245 "than returning a cached value."
246 msgstr ""
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "NOTES"
253 msgstr "NOTAS"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "If the caller's parent is in a different PID namespace (see "
260 "B<pid_namespaces>(7)), B<getppid>() returns 0."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "From a kernel perspective, the PID (which is shared by all of the threads in "
268 "a multithreaded process) is sometimes also known as the thread group ID "
269 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
270 "each thread. For further details, see B<gettid>(2) and the discussion of "
271 "the B<CLONE_THREAD> flag in B<clone>(2)."
272 msgstr ""
273
274 #. type: SH
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "SEE ALSO"
279 msgstr "VEJA TAMBÉM"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
286 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
287 "B<credentials>(7), B<pid_namespaces>(7)"
288 msgstr ""
289 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
290 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
291 "B<credentials>(7), B<pid_namespaces>(7)"
292
293 #. type: TH
294 #: debian-trixie
295 #, no-wrap
296 msgid "2024-05-02"
297 msgstr "2 maio 2024"
298
299 #. type: TH
300 #: debian-trixie
301 #, no-wrap
302 msgid "Linux man-pages 6.9.1"
303 msgstr "Linux man-pages 6.9.1"
304
305 #. type: Plain text
306 #: debian-trixie
307 msgid "Standard C library (I<libc>, I<-lc>)"
308 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
309
310 #. type: Plain text
311 #: debian-trixie fedora-44 fedora-rawhide
312 msgid "POSIX.1-2008."
313 msgstr "POSIX.1-2008."
314
315 #. type: Plain text
316 #: debian-trixie fedora-44 fedora-rawhide
317 #, fuzzy
318 #| msgid "POSIX.1-2001, POSIX.1-2008, 4.3BSD, SVr4."
319 msgid "POSIX.1-2001, 4.3BSD, SVr4."
320 msgstr "POSIX.1-2001, POSIX.1-2008, 4.3BSD, SVr4."
321
322 #. type: TH
323 #: fedora-44 fedora-rawhide
324 #, no-wrap
325 msgid "2024-07-23"
326 msgstr "23 julho 2024"
327
328 #. type: TH
329 #: fedora-44 fedora-rawhide
330 #, no-wrap
331 msgid "Linux man-pages 6.13"
332 msgstr "Linux man-pages 6.13"
333
334 #. type: TH
335 #: mageia-cauldron
336 #, no-wrap
337 msgid "Linux man-pages 6.17"
338 msgstr "Linux man-pages 6.17"
339
340 #. type: TH
341 #: opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "Linux man-pages (unreleased)"
344 msgstr "Linux man-pages (não lançado)"