Debian Codegraph @

po/cs/man2/signal.2.po

raw
1 # Czech translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Marek Kubita <[email protected]>, 2001.
5 # Pavel Heimlich <[email protected]>, 2009.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
10 "PO-Revision-Date: 2025-09-19 12:15+0200\n"
11 "Last-Translator: Vojtěch Zeisek <[email protected]>\n"
12 "Language-Team: Czech <[email protected]>\n"
13 "Language: cs\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "X-Generator: Lokalize 25.08.1\n"
18 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
19 "#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n"
20 "#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n"
21 "#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n"
22 "#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n"
23 "#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n"
24 "#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n"
25 "#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n"
26 "#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n"
27 "#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n"
28 "#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n"
29 "#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n"
30 "#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n"
31 "#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n"
32 "#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n"
33 "#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n"
34 "#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n"
35 "#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n"
36 "#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n"
37 "#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n"
38 "#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n"
39 "#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n"
40 "#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n"
41 "#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n"
42 "#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n"
43
44 #. type: TH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "signal"
49 msgstr "signál"
50
51 #. type: TH
52 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
53 #: opensuse-tumbleweed
54 #, no-wrap
55 msgid "2026-02-08"
56 msgstr "8. února 2026"
57
58 #. type: TH
59 #: archlinux debian-unstable
60 #, fuzzy, no-wrap
61 #| msgid "Linux man-pages 6.17"
62 msgid "Linux man-pages 6.18"
63 msgstr "Linux man-pages 6.17"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "NAME"
70 msgstr "JMÉNO"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "signal - ANSI C signal handling"
76 msgstr "signal - práce se signály v ANSI C"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "LIBRARY"
83 msgstr "KNIHOVNA"
84
85 #. type: Plain text
86 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
87 #: opensuse-leap-16-1 opensuse-tumbleweed
88 msgid "Standard C library (I<libc>,\\ I<-lc>)"
89 msgstr "Standardní knihovna C (I<libc>,\\ I<-lc>)"
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 "SYNOPSIS"
96 msgstr "POUŽITÍ"
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 #, no-wrap
102 msgid "B<#include E<lt>signal.hE<gt>>\n"
103 msgstr "B<#include E<lt>signal.hE<gt>>\n"
104
105 #. type: Plain text
106 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
107 #: opensuse-leap-16-1 opensuse-tumbleweed
108 #, fuzzy, no-wrap
109 #| msgid "B<typedef void (*sighandler_t)(int);>\n"
110 msgid "B<typedef typeof(void (int)) *sighandler_t;>\n"
111 msgstr "B<typedef void (*sighandler_t)(int);>\n"
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 #, no-wrap
117 msgid "B<sighandler_t signal(int >I<signum>B<, sighandler_t >I<handler>B<);>\n"
118 msgstr "B<sighandler_t signal(int >I<signum>B<, sighandler_t >I<handler>B<);>\n"
119
120 #. type: SH
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid "DESCRIPTION"
125 msgstr "POPIS"
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy
131 #| msgid ""
132 #| "The behavior of B<signal>() varies across UNIX versions, and has also "
133 #| "varied historically across different versions of Linux. B<Avoid its "
134 #| "use>: use B<sigaction>(2) instead. See I<Portability> below."
135 msgid ""
136 "B<WARNING>: the behavior of B<signal>() varies across UNIX versions, and "
137 "has also varied historically across different versions of Linux. B<Avoid "
138 "its use>: use B<sigaction>(2) instead. See I<Portability> below."
139 msgstr ""
140 "Chování volání B<signal>() se liší napříč distribucemi UNIXu a také se liší "
141 "historicky v jednotlivých vydáních Linuxu. B<Vyhněte se použití této "
142 "funkce>. Raději použijte B<sigaction>(2). Viz I<Přenositelnost> níže."
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 "B<signal>() sets the disposition of the signal I<signum> to I<handler>, "
149 "which is either B<SIG_IGN>, B<SIG_DFL>, or the address of a programmer-"
150 "defined function (a \"signal handler\")."
151 msgstr ""
152 "Systémové volání B<signal>() instaluje novou obslužnou funkci pro signál s "
153 "číslem I<signum>. Obsluha signálu je nastavena na I<handler>, což může být "
154 "uživatelsky definovaná funkce nebo B<SIG_IGN> případně B<SIG_DFL>."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "If the signal I<signum> is delivered to the process, then one of the "
161 "following happens:"
162 msgstr ""
163 "Pokud je signál I<signum> přijat procesem, stane se jedna z následujících "
164 "věcí:"
165
166 #. type: TP
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "*"
171 msgstr "*"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "If the disposition is set to B<SIG_IGN>, then the signal is ignored."
177 msgstr "Je-li nastaveno B<SIG_IGN> signál je ignorován."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, fuzzy
183 msgid ""
184 "If the disposition is set to B<SIG_DFL>, then the default action associated "
185 "with the signal (see B<signal>(7)) occurs."
186 msgstr "Je-li nastaveno B<SIG_DFL> je vyvolána implicitní funkce."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "If the disposition is set to a function, then first either the disposition "
193 "is reset to B<SIG_DFL>, or the signal is blocked (see I<Portability> below), "
194 "and then I<handler> is called with argument I<signum>. If invocation of the "
195 "handler caused the signal to be blocked, then the signal is unblocked upon "
196 "return from the handler."
197 msgstr ""
198 "Pokud je dispozice nastavena na funkci, pak je nejdřív buď znovu nastavena "
199 "dispozice na B<SIG_DFL> nebo je signál blokován (viz I<Přenositelnost> níže) "
200 "a I<obslužná funkce> je volána s parametrem I<signum>. Pokud volání funkce "
201 "zablokovalo signál, je signál odblokován při návratu z obslužné funkce."
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "The signals B<SIGKILL> and B<SIGSTOP> cannot be caught or ignored."
207 msgstr "Signály B<SIGKILL> a B<SIGSTOP> nemohou být odchyceny nebo blokovány."
208
209 #. type: SH
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "RETURN VALUE"
214 msgstr "NÁVRATOVÉ HODNOTY"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, fuzzy
220 #| msgid ""
221 #| "B<signal>() returns the previous value of the signal handler, or "
222 #| "B<SIG_ERR> on error."
223 msgid ""
224 "B<signal>() returns the previous value of the signal handler. On failure, "
225 "it returns B<SIG_ERR>, and I<errno> is set to indicate the error."
226 msgstr ""
227 "Funkce B<signal>() vrací předchozí hodnotu obsluhy signálu, nebo B<SIG_ERR>, "
228 "nastane-li chyba."
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "ERRORS"
235 msgstr "CHYBOVÉ STAVY"
236
237 #. type: TP
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "B<EINVAL>"
242 msgstr "B<EINVAL>"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid "I<signum> is invalid."
248 msgstr "I<signum> je neplatný."
249
250 #. type: SH
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "VERSIONS"
255 msgstr "VERZE"
256
257 #. libc4 and libc5 define
258 #. .IR SignalHandler ;
259 #. type: Plain text
260 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
261 #: opensuse-leap-16-1 opensuse-tumbleweed
262 #, fuzzy
263 #| msgid ""
264 #| "The use of I<sighandler_t> is a GNU extension. Various versions of libc "
265 #| "predefine this type; libc4 and libc5 define I<SignalHandler>, glibc "
266 #| "defines I<sig_t> and, when B<_GNU_SOURCE> is defined, also "
267 #| "I<sighandler_t>. Without use of such a type, the declaration of "
268 #| "B<signal>() is the somewhat harder to read:"
269 msgid ""
270 "The use of I<sighandler_t> is a GNU extension, exposed if B<_GNU_SOURCE> is "
271 "defined; glibc also defines (the BSD-derived) I<sig_t> if B<_BSD_SOURCE> "
272 "(glibc 2.19 and earlier) or B<_DEFAULT_SOURCE> (glibc 2.19 and later) is "
273 "defined. The standard definition of B<signal>() is:"
274 msgstr ""
275 "Použití I<sighandler_t> je rozšířením GNU. Různé verze glibc předem definují "
276 "tento typ; libc4 a libc5 definují I<SignalHandler>, glibc definuje I<sig_t> "
277 "a je-li definován B<_GNU_SOURCE> pak je definován i I<sighandler_t>. Bez "
278 "definice takového typu je deklarace funkce B<signal>() hůře čitelná."
279
280 #. type: Plain text
281 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
282 #: opensuse-leap-16-1 opensuse-tumbleweed
283 #, fuzzy, no-wrap
284 #| msgid "B<void ( *>I<signal>B<(int >I<signum>B<, void (*>I<handler>B<)(int)) ) (int);>\n"
285 msgid "B<typeof(void (int)) *signal(int >I<signum>B<, typeof(void (int)) *>I<handler>B<);>\n"
286 msgstr "B<void ( *>I<signal>B<(int >I<signum>B<, void (*>I<handler>B<)(int)) ) (int);>\n"
287
288 #. type: SS
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "Portability"
293 msgstr "Přenositelnost"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "The only portable use of B<signal>() is to set a signal's disposition to "
300 "B<SIG_DFL> or B<SIG_IGN>. The semantics when using B<signal>() to "
301 "establish a signal handler vary across systems (and POSIX.1 explicitly "
302 "permits this variation); B<do not use it for this purpose.>"
303 msgstr ""
304 "Jediné přenositelné použití funkce B<signal>() je nastavit obsluhu signálu "
305 "na B<SIG_DFL> nebo B<SIG_IGN>. Sémantika použití B<signal>() na nastavení "
306 "obsluhy signálu se liší na různých systémech (a POSIX.1 tot explicitně "
307 "podporuje). B<Proto jej nepoužívejte za tímto účelem.>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "POSIX.1 solved the portability mess by specifying B<sigaction>(2), which "
314 "provides explicit control of the semantics when a signal handler is invoked; "
315 "use that interface instead of B<signal>()."
316 msgstr ""
317 "POSIX.1 vyřešil tento nesoulad v přenositelnosti zavedením B<sigaction>(2), "
318 "který poskytuje explicitní kontrolu sémantiky v případě vyvolání obsluhy "
319 "signálu. Používejte jej proto místo B<signal>()u."
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "STANDARDS"
326 msgstr "STANDARDY"
327
328 #. type: Plain text
329 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
330 #: opensuse-tumbleweed
331 #, fuzzy
332 #| msgid "C11, POSIX.1-2008."
333 msgid "C11, POSIX.1-2024."
334 msgstr "C11, POSIX.1-2008."
335
336 #. type: SH
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "HISTORY"
341 msgstr "HISTORIE"
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid "C89, POSIX.1-2001."
347 msgstr "C89, POSIX.1-2001."
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, fuzzy
353 #| msgid ""
354 #| "In the original Unix systems, when a handler that was established using "
355 #| "B<signal>() was invoked by the delivery of a signal, the disposition of "
356 #| "the signal would be reset to B<SIG_DFL>, and the system did not block "
357 #| "delivery of further instances of the signal. System V also provides "
358 #| "these semantics for B<signal>(). This was bad because the signal might "
359 #| "be delivered again before the handler had a chance to reestablish "
360 #| "itself. Furthermore, rapid deliveries of the same signal could result in "
361 #| "recursive invocations of the handler."
362 msgid ""
363 "In the original UNIX systems, when a handler that was established using "
364 "B<signal>() was invoked by the delivery of a signal, the disposition of the "
365 "signal would be reset to B<SIG_DFL>, and the system did not block delivery "
366 "of further instances of the signal. This is equivalent to calling "
367 "B<sigaction>(2) with the following flags:"
368 msgstr ""
369 "Pokud v původních Unixových systémech byla obslužná funkce zřízená pomocí "
370 "B<signal>() vyvolána pomocí doručení signálu, stav byl nastaven na "
371 "B<SIG_DFL> a systém neblokoval další možná doručení tohoto signálu. System V "
372 "také poskytuje sémantiku pro B<signal>(). To bylo špatné, protože signál "
373 "mohl být znovu doručen před tím, než se mohla obsluha signálu obnovit. Navíc "
374 "doručení několika signálu stejného druhu bezprostředně za sebou vyústilo v "
375 "rekurzivní volání obsluhy signálu."
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "sa.sa_flags = SA_RESETHAND | SA_NODEFER;\n"
382 msgstr "sa.sa_flags = SA_RESETHAND | SA_NODEFER;\n"
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 #, fuzzy
388 #| msgid ""
389 #| "In the original Unix systems, when a handler that was established using "
390 #| "B<signal>() was invoked by the delivery of a signal, the disposition of "
391 #| "the signal would be reset to B<SIG_DFL>, and the system did not block "
392 #| "delivery of further instances of the signal. System V also provides "
393 #| "these semantics for B<signal>(). This was bad because the signal might "
394 #| "be delivered again before the handler had a chance to reestablish "
395 #| "itself. Furthermore, rapid deliveries of the same signal could result in "
396 #| "recursive invocations of the handler."
397 msgid ""
398 "System\\ V also provides these semantics for B<signal>(). This was bad "
399 "because the signal might be delivered again before the handler had a chance "
400 "to reestablish itself. Furthermore, rapid deliveries of the same signal "
401 "could result in recursive invocations of the handler."
402 msgstr ""
403 "Pokud v původních Unixových systémech byla obslužná funkce zřízená pomocí "
404 "B<signal>() vyvolána pomocí doručení signálu, stav byl nastaven na "
405 "B<SIG_DFL> a systém neblokoval další možná doručení tohoto signálu. System V "
406 "také poskytuje sémantiku pro B<signal>(). To bylo špatné, protože signál "
407 "mohl být znovu doručen před tím, než se mohla obsluha signálu obnovit. Navíc "
408 "doručení několika signálu stejného druhu bezprostředně za sebou vyústilo v "
409 "rekurzivní volání obsluhy signálu."
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, fuzzy
415 #| msgid ""
416 #| "BSD improved on this situation by changing the semantics of signal "
417 #| "handling (but, unfortunately, silently changed the semantics when "
418 #| "establishing a handler with B<signal>()). On BSD, when a signal handler "
419 #| "is invoked, the signal disposition is not reset, and further instances of "
420 #| "the signal are blocked from being delivered while the handler is "
421 #| "executing."
422 msgid ""
423 "BSD improved on this situation, but unfortunately also changed the semantics "
424 "of the existing B<signal>() interface while doing so. On BSD, when a "
425 "signal handler is invoked, the signal disposition is not reset, and further "
426 "instances of the signal are blocked from being delivered while the handler "
427 "is executing. Furthermore, certain blocking system calls are automatically "
428 "restarted if interrupted by a signal handler (see B<signal>(7)). The BSD "
429 "semantics are equivalent to calling B<sigaction>(2) with the following "
430 "flags:"
431 msgstr ""
432 "BSD vylepšilo tuto situaci změnou sémantiky obsluhy signálu (ale naneštěstí "
433 "v tichosti také změnily sémantiku zřízení obsluhy pomocí B<signal>()). Když "
434 "je na BSD vyvolána obsluha signálu , tak není dispozice signálu znovu "
435 "nastavena a další doručení signálu je blokováno dokud se provádí obsluha."
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "sa.sa_flags = SA_RESTART;\n"
442 msgstr "sa.sa_flags = SA_RESTART;\n"
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid "The situation on Linux is as follows:"
448 msgstr "Situace na Linuxu je následující:"
449
450 #. type: IP
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 #, no-wrap
454 msgid "\\[bu]"
455 msgstr "\\[bu]"
456
457 #. type: Plain text
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 msgid "The kernel's B<signal>() system call provides System\\ V semantics."
461 msgstr "Systémové volání jádra B<signal>() poskytuje System V\\ sémantiku."
462
463 #. System V semantics are also provided if one uses the separate
464 #. .BR sysv_signal (3)
465 #. function.
466 #. .IP \[bu]
467 #. The
468 #. .BR signal ()
469 #. function in Linux libc4 and libc5 provide System\ V semantics.
470 #. If one on a libc5 system includes
471 #. .I <bsd/signal.h>
472 #. instead of
473 #. .IR <signal.h> ,
474 #. then
475 #. .BR signal ()
476 #. provides BSD semantics.
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, fuzzy
481 #| msgid ""
482 #| "By default, in glibc 2 and later, the B<signal>() wrapper function does "
483 #| "not invoke the kernel system call. Instead, it calls B<sigaction>(2) "
484 #| "using flags that supply BSD semantics. This default behavior is provided "
485 #| "as long as the B<_BSD_SOURCE> feature test macro is defined. By default, "
486 #| "B<_BSD_SOURCE> is defined; it is also implicitly defined if one defines "
487 #| "B<_GNU_SOURCE>, and can of course be explicitly defined."
488 msgid ""
489 "By default, in glibc 2 and later, the B<signal>() wrapper function does not "
490 "invoke the kernel system call. Instead, it calls B<sigaction>(2) using "
491 "flags that supply BSD semantics. This default behavior is provided as long "
492 "as a suitable feature test macro is defined: B<_BSD_SOURCE> on glibc 2.19 "
493 "and earlier or B<_DEFAULT_SOURCE> in glibc 2.19 and later. (By default, "
494 "these macros are defined; see B<feature_test_macros>(7) for details.) If "
495 "such a feature test macro is not defined, then B<signal>() provides "
496 "System\\ V semantics."
497 msgstr ""
498 "Implicitně v glibc 2 a pozdějších vydáních je obalen B<signal>() funkcí, "
499 "která nevolá jádro systému. Místo toho volá B<sigaction>(2) a používá "
500 "příznaky, které zaručí BSD sémantiku. Toto chování ja zaručeno po dobu "
501 "trvání definice makra B<_BSD_SOURCE>. Standartně je B<_BSD_SOURCE> "
502 "definováno; je také implicitně definováno, pokud je nadefinováno "
503 "B<_GNU_SOURCE> a také může být definováno explicitně."
504
505 #. type: SH
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "NOTES"
510 msgstr "POZNÁMKY"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid "The effects of B<signal>() in a multithreaded process are unspecified."
516 msgstr "Efekt funkce B<signal>() v procesech s vlákny nejsou specifikovány."
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 ""
522 "According to POSIX, the behavior of a process is undefined after it ignores "
523 "a B<SIGFPE>, B<SIGILL>, or B<SIGSEGV> signal that was not generated by "
524 "B<kill>(2) or B<raise>(3). Integer division by zero has undefined result. "
525 "On some architectures it will generate a B<SIGFPE> signal. (Also dividing "
526 "the most negative integer by -1 may generate B<SIGFPE>.) Ignoring this "
527 "signal might lead to an endless loop."
528 msgstr ""
529 "Dle specifikace POSIX je chování systému nespecifikováno, pokud ignoruje "
530 "B<SIGFPE>, B<SIGILL> nebo B<SIGSEGV> signál pokud nebyl vyvolán pomocí "
531 "B<kill>(2) nebo B<raise>(3). Celočíselné dělení nulou má nedefinovaný "
532 "výsledek. Na některých architekturách se generuje B<SIGFRE> signál. (Také "
533 "dělení největšího záporného celého čísla -1 generuje B<SIGFRE>). Ignorování "
534 "tohoto signálu může vést k nekonečné smyčce."
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, fuzzy
540 #| msgid ""
541 #| "See B<sigaction>(2) for details on what happens when B<SIGCHLD> is set "
542 #| "to B<SIG_IGN>."
543 msgid ""
544 "See B<sigaction>(2) for details on what happens when the disposition "
545 "B<SIGCHLD> is set to B<SIG_IGN>."
546 msgstr ""
547 "Viz B<sigaction>(2) pro více informací co se stane je-li B<SIGCHLD> "
548 "nastaveno na B<SIG_IGN>."
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "See B<signal-safety>(7) for a list of the async-signal-safe functions that "
555 "can be safely called from inside a signal handler."
556 msgstr ""
557 "Viz B<signal-safety>(7) pro seznam asynchronních bezpečných funkcí, které "
558 "mohou být bezpečně volány uvnitř funkce pro obsluhu signálu."
559
560 #. type: SH
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "SEE ALSO"
565 msgstr "DALŠÍ INFORMACE"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "B<kill>(1), B<alarm>(2), B<kill>(2), B<pause>(2), B<sigaction>(2), "
572 "B<signalfd>(2), B<sigpending>(2), B<sigprocmask>(2), B<sigsuspend>(2), "
573 "B<bsd_signal>(3), B<killpg>(3), B<raise>(3), B<siginterrupt>(3), "
574 "B<sigqueue>(3), B<sigsetops>(3), B<sigvec>(3), B<sysv_signal>(3), "
575 "B<signal>(7)"
576 msgstr ""
577 "B<kill>(1), B<alarm>(2), B<kill>(2), B<pause>(2), B<sigaction>(2), "
578 "B<signalfd>(2), B<sigpending>(2), B<sigprocmask>(2), B<sigsuspend>(2), "
579 "B<bsd_signal>(3), B<killpg>(3), B<raise>(3), B<siginterrupt>(3), "
580 "B<sigqueue>(3), B<sigsetops>(3), B<sigvec>(3), B<sysv_signal>(3), "
581 "B<signal>(7)"
582
583 #. type: TH
584 #: debian-trixie
585 #, no-wrap
586 msgid "2024-05-02"
587 msgstr "2. května 2024"
588
589 #. type: TH
590 #: debian-trixie
591 #, no-wrap
592 msgid "Linux man-pages 6.9.1"
593 msgstr "Linux man-pages 6.9.1"
594
595 #. type: Plain text
596 #: debian-trixie
597 msgid "Standard C library (I<libc>, I<-lc>)"
598 msgstr "Standardní knihovna C (I<libc>, I<-lc>)"
599
600 #. type: Plain text
601 #: debian-trixie
602 #, no-wrap
603 msgid "B<typedef void (*sighandler_t)(int);>\n"
604 msgstr "B<typedef void (*sighandler_t)(int);>\n"
605
606 #. libc4 and libc5 define
607 #. .IR SignalHandler ;
608 #. type: Plain text
609 #: debian-trixie
610 #, fuzzy
611 #| msgid ""
612 #| "The use of I<sighandler_t> is a GNU extension. Various versions of libc "
613 #| "predefine this type; libc4 and libc5 define I<SignalHandler>, glibc "
614 #| "defines I<sig_t> and, when B<_GNU_SOURCE> is defined, also "
615 #| "I<sighandler_t>. Without use of such a type, the declaration of "
616 #| "B<signal>() is the somewhat harder to read:"
617 msgid ""
618 "The use of I<sighandler_t> is a GNU extension, exposed if B<_GNU_SOURCE> is "
619 "defined; glibc also defines (the BSD-derived) I<sig_t> if B<_BSD_SOURCE> "
620 "(glibc 2.19 and earlier) or B<_DEFAULT_SOURCE> (glibc 2.19 and later) is "
621 "defined. Without use of such a type, the declaration of B<signal>() is the "
622 "somewhat harder to read:"
623 msgstr ""
624 "Použití I<sighandler_t> je rozšířením GNU. Různé verze glibc předem definují "
625 "tento typ; libc4 a libc5 definují I<SignalHandler>, glibc definuje I<sig_t> "
626 "a je-li definován B<_GNU_SOURCE> pak je definován i I<sighandler_t>. Bez "
627 "definice takového typu je deklarace funkce B<signal>() hůře čitelná."
628
629 #. type: Plain text
630 #: debian-trixie
631 #, no-wrap
632 msgid "B<void ( *>I<signal>B<(int >I<signum>B<, void (*>I<handler>B<)(int)) ) (int);>\n"
633 msgstr "B<void ( *>I<signal>B<(int >I<signum>B<, void (*>I<handler>B<)(int)) ) (int);>\n"
634
635 #. type: Plain text
636 #: debian-trixie fedora-44 fedora-rawhide
637 msgid "C11, POSIX.1-2008."
638 msgstr "C11, POSIX.1-2008."
639
640 #. type: TH
641 #: fedora-44 fedora-rawhide
642 #, no-wrap
643 msgid "2025-01-05"
644 msgstr "5. ledna 2025"
645
646 #. type: TH
647 #: fedora-44 fedora-rawhide
648 #, no-wrap
649 msgid "Linux man-pages 6.13"
650 msgstr "Linux man-pages 6.13"
651
652 #. type: TH
653 #: mageia-cauldron
654 #, no-wrap
655 msgid "Linux man-pages 6.17"
656 msgstr "Linux man-pages 6.17"
657
658 #. type: TH
659 #: opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "Linux man-pages (unreleased)"
662 msgstr "Linux man-pages (nevydané)"