Debian Codegraph @

po/pl/man3/setjmp.3.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]>, 1999.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Michał Kułach <[email protected]>, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
11 "PO-Revision-Date: 2025-04-07 20:45+0200\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<12 "
19 "|| n%100>14) ? 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 "setjmp"
27 msgstr "setjmp"
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 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "setjmp, sigsetjmp, longjmp, siglongjmp - performing a nonlocal goto"
53 msgstr "setjmp, sigsetjmp, longjmp, siglongjmp - przeprowadza nielokalne goto"
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 "BIBLIOTEKA"
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 "Standardowa biblioteka C (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 "SKŁADNIA"
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>setjmp.hE<gt>>\n"
80 msgstr "B<#include E<lt>setjmp.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 #, no-wrap
86 msgid ""
87 "B<int setjmp(jmp_buf >I<env>B<);>\n"
88 "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
89 msgstr ""
90 "B<int setjmp(jmp_buf >I<env>B<);>\n"
91 "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid ""
98 "B<[[noreturn]] void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
99 "B<[[noreturn]] void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
100 msgstr ""
101 "B<[[noreturn]] void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
102 "B<[[noreturn]] void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
110 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid "B<setjmp>(): see HISTORY."
116 msgstr "B<setjmp>(): patrz HISTORIA."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid "B<sigsetjmp>():"
122 msgstr "B<sigsetjmp>():"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid " _POSIX_C_SOURCE\n"
129 msgstr " _POSIX_C_SOURCE\n"
130
131 #. type: SH
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid "DESCRIPTION"
136 msgstr "OPIS"
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 "The functions described on this page are used for performing \"nonlocal "
143 "gotos\": transferring execution from one function to a predetermined "
144 "location in another function. The B<setjmp>() function dynamically "
145 "establishes the target to which control will later be transferred, and "
146 "B<longjmp>() performs the transfer of execution."
147 msgstr ""
148 "Funkcje opisane w niniejszym podręczniku służą do wykonywania \\"
149 "[Bq]nielokalnych goto\\[rq]: przeniesienia wykonania z jednej funkcji, do "
150 "określonego wcześniej położenia w innej funkcji. Funkcja B<setjmp>() "
151 "dynamicznie określa cel, do którego zostanie następnie przeniesiona "
152 "kontrola, a B<longjmp>() dokonuje przeniesienia wykonania."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The B<setjmp>() function saves various information about the calling "
159 "environment (typically, the stack pointer, the instruction pointer, possibly "
160 "the values of other registers and the signal mask) in the buffer I<env> for "
161 "later use by B<longjmp>(). In this case, B<setjmp>() returns 0."
162 msgstr ""
163 "Funkcja B<setjmp>() zapisuje różne informacje o środowisku wywołującego "
164 "(zwykle wskaźnik stosu, wskaźnik instrukcji, ewentualnie wartości innych "
165 "rejestrów oraz maskę sygnałów) w buforze I<env>, do późniejszego użytku "
166 "przez B<longjmp>(). W tym przypadku, B<setjmp>() zwraca 0."
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "The B<longjmp>() function uses the information saved in I<env> to transfer "
173 "control back to the point where B<setjmp>() was called and to restore "
174 "(\"rewind\") the stack to its state at the time of the B<setjmp>() call. "
175 "In addition, and depending on the implementation (see NOTES and HISTORY), "
176 "the values of some other registers and the process signal mask may be "
177 "restored to their state at the time of the B<setjmp>() call."
178 msgstr ""
179 "Funkcja B<longjmp>() używa informacji zapisanych w I<env> do ponownego "
180 "przeniesienia kontroli do miejsca, z którego wywołano B<setjmp>() i "
181 "przywrócenia (\\[Bq]przewinięcia wstecz\\[rq]) stosu, do jego stanu w "
182 "momencie wywołania B<setjmp>(). Dodatkowo, w zależności od implementacji "
183 "(zob. UWAGI i HISTORIA), wartości niektórych innych rejestrów i maska "
184 "sygnałów procesu mogą być przywrócone do ich stanu z chwili wywołania "
185 "B<setjmp>()."
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "Following a successful B<longjmp>(), execution continues as if B<setjmp>() "
192 "had returned for a second time. This \"fake\" return can be distinguished "
193 "from a true B<setjmp>() call because the \"fake\" return returns the value "
194 "provided in I<val>. If the programmer mistakenly passes the value 0 in "
195 "I<val>, the \"fake\" return will instead return 1."
196 msgstr ""
197 "Po pomyślnym B<longjmp>(), wykonanie kontynuuje, jak gdyby B<setjmp>() "
198 "powróciło drugi raz. Ten \\[Bq]udawany\\[rq] powrót można rozróżnić od "
199 "prawdziwego wywołania B<setjmp>(), ponieważ \\[Bq]udawany\\[rq] powrót "
200 "zwraca wartość przekazaną w I<val>. Jeśli programista omyłkowo poda w I<val> "
201 "wartość 0, to \\[Bq]udawany\\[rq] powrót zwróci w zamian 1."
202
203 #. type: SS
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "sigsetjmp() and siglongjmp()"
208 msgstr "sigsetjmp() i siglongjmp()"
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 "B<sigsetjmp>() and B<siglongjmp>() also perform nonlocal gotos, but "
215 "provide predictable handling of the process signal mask."
216 msgstr ""
217 "B<sigsetjmp>() i B<siglongjmp>() również wykonują nielokalne goto, lecz "
218 "zapewniają przewidywalną obsługę maski sygnałów procesu."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "If, and only if, the I<savesigs> argument provided to B<sigsetjmp>() is "
225 "nonzero, the process's current signal mask is saved in I<env> and will be "
226 "restored if a B<siglongjmp>() is later performed with this I<env>."
227 msgstr ""
228 "Wtedy, i tylko wtedy, gdy argument I<savesigs> przekazany do B<sigsetjmp> "
229 "jest niezerowy, bieżąca maska sygnałów procesu jest zachowywana w I<env> i "
230 "zostanie odtworzona przez późniejsze wykonanie B<siglongjmp>() z tym samym "
231 "I<env>."
232
233 #. type: SH
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "RETURN VALUE"
238 msgstr "WARTOŚĆ ZWRACANA"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "B<setjmp>() and B<sigsetjmp>() return 0 when called directly; on the "
245 "\"fake\" return that occurs after B<longjmp>() or B<siglongjmp>(), the "
246 "nonzero value specified in I<val> is returned."
247 msgstr ""
248 "Przy bezpośrednim wywołaniu, B<setjmp>() i B<sigsetjmp>() zwracają 0; przy \\"
249 "[Bq]udawanym\\[rq] powrocie, który następuje po B<longjmp>() lub "
250 "B<siglongjmp>(), zwracana jest wartość niezerowa przekazana w I<val>."
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 "The B<longjmp>() or B<siglongjmp>() functions do not return."
256 msgstr "Funkcje B<longjmp>() i B<siglongjmp>() nie powracają."
257
258 #. type: SH
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "ATTRIBUTES"
263 msgstr "ATRYBUTY"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "For an explanation of the terms used in this section, see B<attributes>(7)."
270 msgstr ""
271 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
272 "B<attributes>(7)."
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "Interface"
279 msgstr "Interfejs"
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "Attribute"
286 msgstr "Atrybut"
287
288 #. type: tbl table
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "Value"
293 msgstr "Wartość"
294
295 #. type: tbl table
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid ".na\n"
300 msgstr ".na\n"
301
302 #. type: tbl table
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid ".nh\n"
307 msgstr ".nh\n"
308
309 #. type: tbl table
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid ""
314 "B<setjmp>(),\n"
315 "B<sigsetjmp>()"
316 msgstr ""
317 "B<setjmp>(),\n"
318 "B<sigsetjmp>()"
319
320 #. type: tbl table
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "Thread safety"
325 msgstr "Bezpieczeństwo wątkowe"
326
327 #. type: tbl table
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "MT-Safe"
332 msgstr "MT-bezpieczne"
333
334 #. type: tbl table
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid ""
339 "B<longjmp>(),\n"
340 "B<siglongjmp>()"
341 msgstr ""
342 "B<longjmp>(),\n"
343 "B<siglongjmp>()"
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "STANDARDS"
350 msgstr "STANDARDY"
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<setjmp>()"
357 msgstr "B<setjmp>()"
358
359 #. type: TQ
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<longjmp>()"
364 msgstr "B<longjmp>()"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "C11, POSIX.1-2008."
370 msgstr "C11, POSIX.1-2008."
371
372 #. type: TP
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<sigsetjmp>()"
377 msgstr "B<sigsetjmp>()"
378
379 #. type: TQ
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<siglongjmp>()"
384 msgstr "B<siglongjmp>()"
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid "POSIX.1-2008."
390 msgstr "POSIX.1-2008."
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "HISTORY"
397 msgstr "HISTORIA"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid "POSIX.1-2001, C89."
403 msgstr "POSIX.1-2001, C89."
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 "POSIX.1-2001."
409 msgstr "POSIX.1-2001."
410
411 #. so that _FAVOR_BSD is triggered
412 #. .BR _XOPEN_SOURCE_EXTENDED ,
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "POSIX does not specify whether B<setjmp>() will save the signal mask (to be "
418 "later restored during B<longjmp>()). In System V it will not. In 4.3BSD it "
419 "will, and there is a function B<_setjmp>() that will not. The behavior "
420 "under Linux depends on the glibc version and the setting of feature test "
421 "macros. Before glibc 2.19, B<setjmp>() follows the System V behavior by "
422 "default, but the BSD behavior is provided if the B<_BSD_SOURCE> feature test "
423 "macro is explicitly defined and none of B<_POSIX_SOURCE>, "
424 "B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is "
425 "defined. Since glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V "
426 "version of B<setjmp>(). Programs that need the BSD semantics should replace "
427 "calls to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero "
428 "I<savesigs> argument."
429 msgstr ""
430 "POSIX nie określa, czy B<setjmp>() zapisze maskę sygnałów (do późniejszego "
431 "jej przywrócenia w trakcie B<longjmp>()). W Systemie V nie ma to miejsca. W "
432 "4.3BSD tak się dzieje, występuje również funkcja B<_setjmp>(), która tego "
433 "nie robi. Zachowanie w Linuksie zależy od wersji glibc i ustawienia makra "
434 "sprawdzania cech. Przed glibc 2.19, B<setjmp>() naśladuje domyślnie "
435 "zachowanie Systemu V, a zachowanie BSD jest zapewniane, jeśli makro "
436 "sprawdzania cech B<_BSD_SOURCE> jest jawnie zdefiniowane, a żadne z: "
437 "B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, ani "
438 "B<_SVID_SOURCE> nie jest zdefiniowane. Od glibc 2.19, I<E<lt>setjmp.hE<gt>> "
439 "ujawnia jedynie wersję Systemu V B<setjmp>(). Programy potrzebujące "
440 "semantyki BSD powinny zastąpić wywołania do B<setjmp>(), wywołaniami "
441 "B<sigsetjmp>() z niezerwoym argumentem I<savesigs>."
442
443 #. type: SH
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "NOTES"
448 msgstr "UWAGI"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "B<setjmp>() and B<longjmp>() can be useful for dealing with errors inside "
455 "deeply nested function calls or to allow a signal handler to pass control to "
456 "a specific point in the program, rather than returning to the point where "
457 "the handler interrupted the main program. In the latter case, if you want "
458 "to portably save and restore signal masks, use B<sigsetjmp>() and "
459 "B<siglongjmp>(). See also the discussion of program readability below."
460 msgstr ""
461 "B<setjmp>() i B<longjmp>() mogą być przydatne do radzenia sobie z błędami w "
462 "głęboko zagnieżdżonych wywołaniach funkcji albo do umożliwienia procedurze "
463 "obsługi sygnału do przekazania kontroli do określonego punktu programu, "
464 "zamiast do powracania do punktu, gdzie procedura obsługi przerwała główny "
465 "program. W tym drugim przypadku, jeśli chce się zachować i przywrócić maski "
466 "sygnałów w sposób przenośny, należy korzystać z B<sigsetjmp>() i "
467 "B<siglongjmp>(). Zob. też opis na temat czytelności programu poniżej."
468
469 #. type: SH
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "CAVEATS"
474 msgstr "ZASTRZEŻENIA"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid ""
480 "The compiler may optimize variables into registers, and B<longjmp>() may "
481 "restore the values of other registers in addition to the stack pointer and "
482 "program counter. Consequently, the values of automatic variables are "
483 "unspecified after a call to B<longjmp>() if they meet all the following "
484 "criteria:"
485 msgstr ""
486 "Kompilator może dokonać optymalizacji zmiennych do rejestrów, a B<longjmp>() "
487 "może przywrócić wartości innych rejestrów oprócz wskaźnika stosu i licznika "
488 "programu. Co za tym idzie, wartości automatycznych zmiennych są nieokreślone "
489 "po wywołaniu B<longjmp>(), jeśli zostaną spełnione wszystkie poniższe "
490 "kryteria:"
491
492 #. type: IP
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "\\[bu]"
497 msgstr "\\[bu]"
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "they are local to the function that made the corresponding B<setjmp>() call;"
504 msgstr ""
505 "są lokalne w stosunku do funkcji, która wykonała odpowiednie wywołanie "
506 "B<setjmp>();"
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid ""
512 "their values are changed between the calls to B<setjmp>() and B<longjmp>(); "
513 "and"
514 msgstr ""
515 "ich wartości są zmienione pomiędzy wywołaniami do B<setjmp>() i "
516 "B<longjmp>(); i"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid "they are not declared as I<volatile>."
522 msgstr "nie są zadeklarowane jako I<volatile> (ulotne)."
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 msgid "Analogous remarks apply for B<siglongjmp>()."
528 msgstr "Te same uwagi stosują się do B<siglongjmp>()."
529
530 #. type: SS
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "Nonlocal gotos and program readability"
535 msgstr "Nielokalne goto i czytelność programu"
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "While it can be abused, the traditional C \"goto\" statement at least has "
542 "the benefit that lexical cues (the goto statement and the target label) "
543 "allow the programmer to easily perceive the flow of control. Nonlocal gotos "
544 "provide no such cues: multiple B<setjmp>() calls might employ the same "
545 "I<jmp_buf> variable so that the content of the variable may change over the "
546 "lifetime of the application. Consequently, the programmer may be forced to "
547 "perform detailed reading of the code to determine the dynamic target of a "
548 "particular B<longjmp>() call. (To make the programmer's life easier, each "
549 "B<setjmp>() call should employ a unique I<jmp_buf> variable.)"
550 msgstr ""
551 "Choć może być nadużywane, tradycyjne wyrażenie \\[Bq]goto\\[rq] języka C "
552 "korzysta przynajmniej ze wskazówek leksykalnych (wyrażenie goto i docelowa "
553 "etykieta), co pozwala programiście łatwo wyczuć przepływ kontroli. "
554 "Nielokalne goto nie zapewniają takich wskazówek, tej samej zmiennej "
555 "I<jmp_buf> może używać wiele wywołań B<setjmp>(), tak więc zawartość "
556 "zmiennej może się zmieniać w trakcie istnienia aplikacji. Co za tym idzie, "
557 "programista może być zmuszony do szczegółowej analizy kodu, aby określić "
558 "dynamiczny cel danego wywołania B<longjmp>() (aby ułatwić życie "
559 "programiście, każde wywołanie B<setjmp>() powinno mieć unikatową zmienną "
560 "I<jmp_buf>)."
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid ""
566 "Adding further difficulty, the B<setjmp>() and B<longjmp>() calls may not "
567 "even be in the same source code module."
568 msgstr ""
569 "Dodatkową trudność stanowi fakt, że wywołania B<setjmp>() i B<longjmp>() nie "
570 "muszą być nawet w tym samym module kodu źródłowego."
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "In summary, nonlocal gotos can make programs harder to understand and "
577 "maintain, and an alternative should be used if possible."
578 msgstr ""
579 "Podsumowując, nielokalne goto powodują, że programy są trudne do zrozumienia "
580 "i utrzymywania, zatem jeśli jest to możliwe, należy używać innych rozwiązań."
581
582 #. type: SS
583 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
584 #: opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "Undefined behavior"
587 msgstr "Niezdefiniowane zachowanie"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "If the function which called B<setjmp>() returns before B<longjmp>() is "
594 "called, the behavior is undefined. Some kind of subtle or unsubtle chaos is "
595 "sure to result."
596 msgstr ""
597 "Jeśli funkcja, która wywołała B<setjmp>() powróci przed wywołaniem "
598 "B<longjmp>(), zachodzi niezdefiniowane zachowanie. Na pewno wystąpi, "
599 "mniejszy lub większy, chaos."
600
601 #
602 #
603 #. The following statement appeared in versions up to POSIX.1-2008 TC1,
604 #. but is set to be removed in POSIX.1-2008 TC2:
605 #. According to POSIX.1, if a
606 #. .BR longjmp ()
607 #. call is performed from a nested signal handler
608 #. (i.e., from a handler that was invoked in response to a signal that was
609 #. generated while another signal was already in the process of being
610 #. handled), the behavior is undefined.
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "If, in a multithreaded program, a B<longjmp>() call employs an I<env> "
616 "buffer that was initialized by a call to B<setjmp>() in a different thread, "
617 "the behavior is undefined."
618 msgstr ""
619 "Jeśli w programie wielowątkowym, wywołanie B<longjmp>() użyje bufora I<env>, "
620 "który był zainicjowany wywołaniem B<setjmp>() w innym wątku, zachowanie jest "
621 "niezdefiniowanie."
622
623 #. http://austingroupbugs.net/view.php?id=516#c1195
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid ""
628 "POSIX.1-2008 Technical Corrigendum 2 adds B<longjmp>() and B<siglongjmp>() "
629 "to the list of async-signal-safe functions. However, the standard "
630 "recommends avoiding the use of these functions from signal handlers and goes "
631 "on to point out that if these functions are called from a signal handler "
632 "that interrupted a call to a non-async-signal-safe function (or some "
633 "equivalent, such as the steps equivalent to B<exit>(3) that occur upon a "
634 "return from the initial call to I<main>()), the behavior is undefined if the "
635 "program subsequently makes a call to a non-async-signal-safe function. The "
636 "only way of avoiding undefined behavior is to ensure one of the following:"
637 msgstr ""
638 "POSIX.1-2008 Technical Corrigendum 2 dodaje B<longjmp>() i B<siglongjmp>() "
639 "do listy funkcji async-signal-safe. Jednak standard zaleca unikania "
640 "korzystania z tych funkcji z procedur obsługi sygnału wskazując, że gdy "
641 "funkcje te są wywoływane z procedury obsługi sygnału, który przerwał "
642 "wywołanie do funkcji non-async-signal-safe (lub odpowiednika, np. "
643 "ekwiwalentne kroki do B<exit>(3), które zachodzą przy powrocie z pierwotnego "
644 "wywołania do I<main>()), zachowanie jest niezdefiniowane, gdy program wykona "
645 "następnie wywołanie do funkcji non-async-signal-safe. Jedynym sposobem "
646 "uniknięcia niezdefiniowanego zachowania jest zapewnienie jednego z "
647 "poniższych:"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "After long jumping from the signal handler, the program does not call any "
654 "non-async-signal-safe functions and does not return from the initial call to "
655 "I<main>()."
656 msgstr ""
657 "Po długim skoku z pierwotnej procedury obsługi sygnału, program nie wywołuje "
658 "żadnych funkcji non-async-signal-safe i nie powraca z pierwotnego wywołania "
659 "do I<main>()."
660
661 #. type: Plain text
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 msgid ""
665 "Any signal whose handler performs a long jump must be blocked during "
666 "I<every> call to a non-async-signal-safe function and no non-async-signal-"
667 "safe functions are called after returning from the initial call to I<main>()."
668 msgstr ""
669 "Wszelkie sygnały, których procedury obsługi wykonują długi skok, muszą być "
670 "blokowane w trakcie I<każdego> wywołania do funkcji non-async-signal-safe i "
671 "żadna funkcja non-async-signal-safe nie może być wywołana po powrocie z "
672 "pierwotnego wywołania do I<main>()."
673
674 #. type: SH
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid "SEE ALSO"
679 msgstr "ZOBACZ TAKŻE"
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid "B<signal>(7), B<signal-safety>(7)"
685 msgstr "B<signal>(7), B<signal-safety>(7)"
686
687 #. type: TH
688 #: debian-trixie
689 #, no-wrap
690 msgid "2024-06-16"
691 msgstr "16 czerwca 2024 r."
692
693 #. type: TH
694 #: debian-trixie
695 #, no-wrap
696 msgid "Linux man-pages 6.9.1"
697 msgstr "Linux man-pages 6.9.1"
698
699 #. type: Plain text
700 #: debian-trixie
701 msgid "Standard C library (I<libc>, I<-lc>)"
702 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
703
704 #. type: SS
705 #: debian-trixie
706 #, no-wrap
707 msgid "Undefined Behavior"
708 msgstr "Niezdefiniowane zachowanie"
709
710 #. type: TH
711 #: fedora-44 fedora-rawhide
712 #, no-wrap
713 msgid "2024-11-17"
714 msgstr "17 listopada 2024 r."
715
716 #. type: TH
717 #: fedora-44 fedora-rawhide
718 #, no-wrap
719 msgid "Linux man-pages 6.13"
720 msgstr "Linux man-pages 6.13"
721
722 #. type: TH
723 #: mageia-cauldron
724 #, no-wrap
725 msgid "Linux man-pages 6.17"
726 msgstr "Linux man-pages 6.17"
727
728 #. type: TH
729 #: opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "Linux man-pages (unreleased)"
732 msgstr "Linux man-pages (niewydane)"