Debian Codegraph @

po/ro/man2/getpid.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2023, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.19.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2023-09-09 23:54+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.2.2\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 "getpid"
25 msgstr "getpid"
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 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "getpid, getppid - get process identification"
51 msgstr "getpid, getppid - obține identificatorul procesului"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>unistd.hE<gt>>\n"
78 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<pid_t getpid(void);>\n"
86 "B<pid_t getppid(void);>\n"
87 msgstr ""
88 "B<pid_t getpid(void);>\n"
89 "B<pid_t getppid(void);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIERE"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
103 "often used by routines that generate unique temporary filenames.)"
104 msgstr ""
105 "B<getpid>() returnează identificatorul de proces (PID) al procesului apelant "
106 "(acest lucru este adesea utilizat de rutinele care generează nume de fișiere "
107 "temporare unice)."
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "B<getppid>() returns the process ID of the parent of the calling process. "
114 "This will be either the ID of the process that created this process using "
115 "B<fork>(), or, if that process has already terminated, the ID of the process "
116 "to which this process has been reparented (either B<init>(1) or a "
117 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
118 "operation)."
119 msgstr ""
120 "B<getppid>() returnează identificatorul de proces al procesului părinte al "
121 "procesului apelant. Acesta va fi fie identificatorul procesului care a "
122 "creat acest proces cu ajutorul B<fork>(), fie, dacă acest proces s-a "
123 "încheiat deja, identificatorul procesului căruia i-a fost reafiliat acest "
124 "proces (fie B<init>(1), fie un proces „subreaper” definit prin operația "
125 "B<prctl>(2) B<PR_SET_CHILD_SUBREAPER>).es)."
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "ERRORS"
132 msgstr "ERORI-IEȘIRE"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid "These functions are always successful."
138 msgstr "Aceste funcții au întotdeauna succes."
139
140 #. type: SH
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "VERSIONS"
145 msgstr "VERSIUNI"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
152 "a single B<getxpid>() system call is provided, which returns a pair of PID "
153 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
154 "transparently deal with this. See B<syscall>(2) for details regarding "
155 "register mapping."
156 msgstr ""
157 "Pe Alpha, în loc de o pereche de apeluri de sistem B<getpid>() și "
158 "B<getppid>(), este furnizat un singur apel de sistem B<getxpid>(), care "
159 "returnează o pereche de PID și PID părinte. Funcțiile de învăluire "
160 "B<getpid>() și B<getppid>() ale glibc se ocupă în mod transparent de acest "
161 "lucru. A se vedea B<syscall>(2) pentru detalii privind machetarea "
162 "registrelor."
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "STANDARDS"
169 msgstr "STANDARDE"
170
171 #. type: Plain text
172 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
173 #: opensuse-tumbleweed
174 msgid "POSIX.1-2024."
175 msgstr "POSIX.1-2024."
176
177 #. type: SH
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "HISTORY"
182 msgstr "ISTORIC"
183
184 #. type: Plain text
185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
186 #: opensuse-tumbleweed
187 msgid "4.3BSD, SVr4, POSIX.1-1988."
188 msgstr "4.3BSD, SVr4, POSIX.1-1988."
189
190 #. type: SS
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "C library/kernel differences"
195 msgstr "Diferențe între biblioteca C și nucleu"
196
197 #
198 #
199 #
200 #
201 #. The following program demonstrates this "feature":
202 #. #define _GNU_SOURCE
203 #. #include <sys/syscall.h>
204 #. #include <sys/wait.h>
205 #. #include <stdint.h>
206 #. #include <stdio.h>
207 #. #include <stdlib.h>
208 #. #include <unistd.h>
209 #. int
210 #. main(int argc, char *argv[])
211 #. {
212 #. /* The following statement fills the getpid() cache */
213 #. printf("parent PID = %ld
214 #. ", (intmax_t) getpid());
215 #. if (syscall(SYS_fork) == 0) {
216 #. if (getpid() != syscall(SYS_getpid))
217 #. printf("child getpid() mismatch: getpid()=%jd; "
218 #. "syscall(SYS_getpid)=%ld
219 #. ",
220 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
221 #. exit(EXIT_SUCCESS);
222 #. }
223 #. wait(NULL);
224 #. }
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
230 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
231 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
232 "was invisible, but its correct operation relied on support in the wrapper "
233 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
234 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
235 "then a call to B<getpid>() in the child would return the wrong value (to be "
236 "precise: it would return the PID of the parent process). In addition, there "
237 "were cases where B<getpid>() could return the wrong value even when "
238 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
239 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
240 "caching code had been the source of a few bugs within glibc over the years."
241 msgstr ""
242 "De la glibc 2.3.4 și până la glibc 2.24 inclusiv, funcția de învăluire glibc "
243 "pentru B<getpid>() a pus în memoria cache PID-urile, cu scopul de a evita "
244 "apelurile de sistem suplimentare atunci când un proces apela B<getpid>() în "
245 "mod repetat. În mod normal, această memorare era invizibilă, dar "
246 "funcționarea sa corectă se baza pe suportul din funcțiile de învăluire "
247 "pentru B<fork>(2), B<vfork>(2) și B<clone>(2): dacă o aplicație ocolea "
248 "funcțiile de învăluire glibc pentru aceste apeluri de sistem utilizând "
249 "B<syscall>(2), atunci un apel la B<getpid>() în procesul copil ar returna o "
250 "valoare greșită (mai exact: ar returna PID-ul procesului părinte). În plus, "
251 "au existat cazuri în care B<getpid>() ar putea returna o valoare greșită "
252 "chiar și atunci când se apela B<clone>(2) prin intermediul funcției de "
253 "învăluire glibc. (Pentru o discuție despre un astfel de caz, consultați "
254 "ERORI in B<clone>(2).) În plus, complexitatea codului de memorare în cache "
255 "a fost sursa câtorva erori în cadrul glibc de-a lungul anilor."
256
257 #. commit c579f48edba88380635ab98cb612030e3ed8691e
258 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
259 #. FIXME .
260 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
266 "removed: calls to B<getpid>() always invoke the actual system call, rather "
267 "than returning a cached value."
268 msgstr ""
269 "Din cauza problemelor menționate mai sus, începând cu glibc 2.25, memoria "
270 "cache PID este eliminată: apelurile către B<getpid>() invocă întotdeauna "
271 "apelul de sistem real, în loc să returneze o valoare din memoria cache."
272
273 #. type: SH
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "NOTES"
278 msgstr "NOTE"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "If the caller's parent is in a different PID namespace (see "
285 "B<pid_namespaces>(7)), B<getppid>() returns 0."
286 msgstr ""
287 "Dacă părintele apelantului se află într-un spațiu de nume PID diferit (a se "
288 "vedea B<pid_namespaces>(7)), B<getppid>() returnează 0."
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "From a kernel perspective, the PID (which is shared by all of the threads in "
295 "a multithreaded process) is sometimes also known as the thread group ID "
296 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
297 "each thread. For further details, see B<gettid>(2) and the discussion of "
298 "the B<CLONE_THREAD> flag in B<clone>(2)."
299 msgstr ""
300 "Din perspectiva nucleului, PID-ul (care este partajat de toate firele de "
301 "execuție dintr-un proces cu mai multe fire de execuție) este uneori cunoscut "
302 "și sub numele de identificatorul grupului de fire de execuție (TGID). Acest "
303 "lucru contrastează cu identificatorul de fire de execuție din nucleu (TID), "
304 "care este unic pentru fiecare fir de execuție. Pentru mai multe detalii, "
305 "consultați B<gettid>(2) și discuția despre fanionul B<CLONE_THREAD> din "
306 "B<clone>(2)."
307
308 #. type: SH
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "SEE ALSO"
313 msgstr "CONSULTAȚI ȘI"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
320 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
321 "B<credentials>(7), B<pid_namespaces>(7)"
322 msgstr ""
323 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
324 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
325 "B<credentials>(7), B<pid_namespaces>(7)"
326
327 #. type: TH
328 #: debian-trixie
329 #, no-wrap
330 msgid "2024-05-02"
331 msgstr "2 mai 2024"
332
333 #. type: TH
334 #: debian-trixie
335 #, no-wrap
336 msgid "Linux man-pages 6.9.1"
337 msgstr "Pagini de manual de Linux 6.9.1"
338
339 #. type: Plain text
340 #: debian-trixie
341 msgid "Standard C library (I<libc>, I<-lc>)"
342 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
343
344 #. type: Plain text
345 #: debian-trixie fedora-44 fedora-rawhide
346 msgid "POSIX.1-2008."
347 msgstr "POSIX.1-2008."
348
349 #. type: Plain text
350 #: debian-trixie fedora-44 fedora-rawhide
351 msgid "POSIX.1-2001, 4.3BSD, SVr4."
352 msgstr "POSIX.1-2001, 4.3BSD, SVr4."
353
354 #. type: TH
355 #: fedora-44 fedora-rawhide
356 #, no-wrap
357 msgid "2024-07-23"
358 msgstr "23 iulie 2024"
359
360 #. type: TH
361 #: fedora-44 fedora-rawhide
362 #, no-wrap
363 msgid "Linux man-pages 6.13"
364 msgstr "Pagini de manual de Linux 6.13"
365
366 #. type: TH
367 #: mageia-cauldron
368 #, no-wrap
369 msgid "Linux man-pages 6.17"
370 msgstr "Pagini de manual de Linux 6.17"
371
372 #. type: TH
373 #: opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "Linux man-pages (unreleased)"
376 msgstr "Pagini de manual Linux (nepublicate)"