Debian Codegraph @

po/pl/man2/getpid.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Robert Luberda <[email protected]>, 2013.
6 # Michał Kułach <[email protected]>, 2016, 2024.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-pl\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2024-03-11 20:43+0100\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\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=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20 "X-Generator: Lokalize 22.12.3\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "getpid"
27 msgstr "getpid"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
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 "NAZWA"
48
49 #
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "getpid, getppid - get process identification"
54 msgstr "getpid, getppid - pobiera identyfikator procesu"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTEKA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SKŁADNIA"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<pid_t getpid(void);>\n"
89 "B<pid_t getppid(void);>\n"
90 msgstr ""
91 "B<pid_t getpid(void);>\n"
92 "B<pid_t getppid(void);>\n"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "OPIS"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
106 "often used by routines that generate unique temporary filenames.)"
107 msgstr ""
108 "B<getpid>() zwraca identyfikator procesu (PID) wywołującego (jest to często "
109 "wykorzystywane przez funkcje generujące unikatowe nazwy plików tymczasowych)."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "B<getppid>() returns the process ID of the parent of the calling process. "
116 "This will be either the ID of the process that created this process using "
117 "B<fork>(), or, if that process has already terminated, the ID of the process "
118 "to which this process has been reparented (either B<init>(1) or a "
119 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
120 "operation)."
121 msgstr ""
122 "B<getppid>() zwraca identyfikator procesu (PID) macierzystego względem "
123 "procesu wywołującego. Będzie to albo identyfikator procesu, który utworzył "
124 "ten proces za pomocą B<fork>(), albo, jeśli tamten proces już się zakończył, "
125 "identyfikator procesu, do którego proces ten został zaadoptowany (albo przez "
126 "B<init>(1), albo przez proces \\[Bq]dorzynający\\[rq] (ang. \\[Bq]subreaper\\"
127 "[rq]) zdefiniowany przez operację B<PR_SET_CHILD_SUBREAPER> B<prctl>(2))."
128
129 #. type: SH
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid "ERRORS"
134 msgstr "BŁĘDY"
135
136 #
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid "These functions are always successful."
141 msgstr "Funkcje te zawsze kończą się pomyślnie."
142
143 #. type: SH
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "VERSIONS"
148 msgstr "WERSJE"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
155 "a single B<getxpid>() system call is provided, which returns a pair of PID "
156 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
157 "transparently deal with this. See B<syscall>(2) for details regarding "
158 "register mapping."
159 msgstr ""
160 "Na Alpha, zamiast pary wywołań systemowych B<getpid>() i B<getppid>(), "
161 "udostępniane jest pojedyncze wywołanie systemowe B<getxpid>(), które zwraca "
162 "parę: identyfikatora procesu oraz identyfikatora procesu macierzystego. "
163 "Funkcje opakowujące B<getpid>() i B<getppid>() biblioteki glibc robią to w "
164 "sposób przezroczysty. Więcej informacji o przypisywaniu rejestrów znajduje "
165 "się w podręczniku B<syscall>(2)."
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "STANDARDS"
172 msgstr "STANDARDY"
173
174 #. type: Plain text
175 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
176 #: opensuse-tumbleweed
177 msgid "POSIX.1-2024."
178 msgstr "POSIX.1-2024."
179
180 #. type: SH
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "HISTORY"
185 msgstr "HISTORIA"
186
187 #. type: Plain text
188 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
189 #: opensuse-tumbleweed
190 msgid "4.3BSD, SVr4, POSIX.1-1988."
191 msgstr "4.3BSD, SVr4, POSIX.1-1988."
192
193 #. type: SS
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "C library/kernel differences"
198 msgstr "Różnice biblioteki C/jądra"
199
200 #. The following program demonstrates this "feature":
201 #. #define _GNU_SOURCE
202 #. #include <sys/syscall.h>
203 #. #include <sys/wait.h>
204 #. #include <stdint.h>
205 #. #include <stdio.h>
206 #. #include <stdlib.h>
207 #. #include <unistd.h>
208 #. int
209 #. main(int argc, char *argv[])
210 #. {
211 #. /* The following statement fills the getpid() cache */
212 #. printf("parent PID = %ld
213 #. ", (intmax_t) getpid());
214 #. if (syscall(SYS_fork) == 0) {
215 #. if (getpid() != syscall(SYS_getpid))
216 #. printf("child getpid() mismatch: getpid()=%jd; "
217 #. "syscall(SYS_getpid)=%ld
218 #. ",
219 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
220 #. exit(EXIT_SUCCESS);
221 #. }
222 #. wait(NULL);
223 #. }
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
229 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
230 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
231 "was invisible, but its correct operation relied on support in the wrapper "
232 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
233 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
234 "then a call to B<getpid>() in the child would return the wrong value (to be "
235 "precise: it would return the PID of the parent process). In addition, there "
236 "were cases where B<getpid>() could return the wrong value even when "
237 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
238 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
239 "caching code had been the source of a few bugs within glibc over the years."
240 msgstr ""
241 "Od glibc 2.3.4 do glibc 2.24 włącznie, funkcja opakowująca dla B<getpid>() "
242 "buforowała identyfikatory procesów, w celu unikania dodatkowych wywołań "
243 "systemowych, jeśli proces powtarza wywołania B<getpid>(). Zwykle było to "
244 "niewidoczne, ale poprawne działanie tego mechanizmu zależało od wsparcia w "
245 "funkcjach opakowujących B<fork>(2), B<vfork>(2) i B<clone>(2): jeżeli "
246 "aplikacja omijała funkcje opakowujące biblioteki glibc, używając "
247 "B<syscall>(2), to B<getpid>() w procesie potomnym zwracało niepoprawną "
248 "wartość (a dokładniej: zwracało identyfikator procesu macierzystego). Oprócz "
249 "tego, występowały sytuacje, gdzie B<getpid>() mogło zwrócić niepoprawną "
250 "wartość, nawet jeżeli B<clone>(2) uruchomiono poprzez funkcję opakowującą "
251 "biblioteki glibc (więcej informacji o takim przypadku opisano w rozdziale "
252 "USTERKI w B<clone>(2)). Co więcej, złożoność kodu buforującego była źródłem "
253 "kilku błędów w glibc na przestrzeni lat."
254
255 #. commit c579f48edba88380635ab98cb612030e3ed8691e
256 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
257 #. FIXME .
258 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
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 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
264 "removed: calls to B<getpid>() always invoke the actual system call, rather "
265 "than returning a cached value."
266 msgstr ""
267 "Z powodu opisywanych problemów, od glibc 2.25 bufor PID został usunięty: "
268 "wywołanie do B<getpid>() zawsze przywoła rzeczywiste wywołanie systemowe, "
269 "zamiast zwracać wartość zbuforowaną."
270
271 #. type: SH
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "NOTES"
276 msgstr "UWAGI"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "If the caller's parent is in a different PID namespace (see "
283 "B<pid_namespaces>(7)), B<getppid>() returns 0."
284 msgstr ""
285 "Jeśli rodzic wywołującego jest w innej przestrzeni nazw PID (zob. "
286 "B<pid_namespaces>(7)), B<getppid>() zwraca 0."
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "From a kernel perspective, the PID (which is shared by all of the threads in "
293 "a multithreaded process) is sometimes also known as the thread group ID "
294 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
295 "each thread. For further details, see B<gettid>(2) and the discussion of "
296 "the B<CLONE_THREAD> flag in B<clone>(2)."
297 msgstr ""
298 "Z punktu widzenia jądra, PID (który jest dzielony przez wszystkie wątki w "
299 "procesie wielowątkowym) jest również czasem znany jako identyfikator grupy "
300 "wątków (ang. thread group ID \\[em] TGID). Różni się on od identyfikatora "
301 "wątku jądra (TID), który jest unikatowy dla każdego wątku. Więcej informacji "
302 "znajduje się w podręczniku B<gettid>(2) oraz w opisie znacznika "
303 "B<CLONE_THREAD> w B<clone>(2)."
304
305 #. type: SH
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "SEE ALSO"
310 msgstr "ZOBACZ TAKŻE"
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 msgid ""
316 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
317 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
318 "B<credentials>(7), B<pid_namespaces>(7)"
319 msgstr ""
320 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
321 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
322 "B<credentials>(7), B<pid_namespaces>(7)"
323
324 #. type: TH
325 #: debian-trixie
326 #, no-wrap
327 msgid "2024-05-02"
328 msgstr "2 maja 2024 r."
329
330 #. type: TH
331 #: debian-trixie
332 #, no-wrap
333 msgid "Linux man-pages 6.9.1"
334 msgstr "Linux man-pages 6.9.1"
335
336 #. type: Plain text
337 #: debian-trixie
338 msgid "Standard C library (I<libc>, I<-lc>)"
339 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
340
341 #. type: Plain text
342 #: debian-trixie fedora-44 fedora-rawhide
343 msgid "POSIX.1-2008."
344 msgstr "POSIX.1-2008."
345
346 #. type: Plain text
347 #: debian-trixie fedora-44 fedora-rawhide
348 msgid "POSIX.1-2001, 4.3BSD, SVr4."
349 msgstr "POSIX.1-2001, 4.3BSD, SVr4."
350
351 #. type: TH
352 #: fedora-44 fedora-rawhide
353 #, no-wrap
354 msgid "2024-07-23"
355 msgstr "23 lipca 2024 r."
356
357 #. type: TH
358 #: fedora-44 fedora-rawhide
359 #, no-wrap
360 msgid "Linux man-pages 6.13"
361 msgstr "Linux man-pages 6.13"
362
363 #. type: TH
364 #: mageia-cauldron
365 #, no-wrap
366 msgid "Linux man-pages 6.17"
367 msgstr "Linux man-pages 6.17"
368
369 #. type: TH
370 #: opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Linux man-pages (unreleased)"
373 msgstr "Linux man-pages (niewydane)"