Debian Codegraph @

po/fr/man3/getcontext.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012.
18 # Frédéric Hantrais <[email protected]>, 2013, 2014.
19 # Jean-Pierre Giraud <[email protected]>, 2023.
20 msgid ""
21 msgstr ""
22 "Project-Id-Version: manpages-l10n 4.21.0\n"
23 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
24 "PO-Revision-Date: 2024-03-14 16:11+0100\n"
25 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
26 "Language-Team: French <[email protected]>\n"
27 "Language: fr\n"
28 "MIME-Version: 1.0\n"
29 "Content-Type: text/plain; charset=UTF-8\n"
30 "Content-Transfer-Encoding: 8bit\n"
31 "Plural-Forms: nplurals=2; plural=n > 1;\n"
32 "X-Generator: Lokalize 22.12.3\n"
33
34 #. type: TH
35 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
36 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "getcontext"
39 msgstr "getcontext"
40
41 #. type: TH
42 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
43 #: opensuse-tumbleweed
44 #, no-wrap
45 msgid "2026-02-08"
46 msgstr "8 février 2026"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "getcontext, setcontext - get or set the user context"
65 msgstr "getcontext, setcontext – Lire ou écrire le contexte utilisateur"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "LIBRARY"
72 msgstr "BIBLIOTHÈQUE"
73
74 #. type: Plain text
75 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
76 #: opensuse-leap-16-1 opensuse-tumbleweed
77 msgid "Standard C library (I<libc>,\\ I<-lc>)"
78 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "SYNOPSIS"
85 msgstr "SYNOPSIS"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "B<#include E<lt>ucontext.hE<gt>>\n"
92 msgstr "B<#include E<lt>ucontext.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid ""
99 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
100 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
101 msgstr ""
102 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
103 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr "DESCRIPTION"
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 ""
116 "In a System V-like environment, one has the two types I<mcontext_t> and "
117 "I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
118 "B<getcontext>(), B<setcontext>(), B<makecontext>(3), and B<swapcontext>(3) "
119 "that allow user-level context switching between multiple threads of control "
120 "within a process."
121 msgstr ""
122 "Dans un environnement de type System V, il existe deux types I<mcontext_t> "
123 "et I<ucontext_t> définis dans I<E<lt>ucontext.hE<gt>> et les quatre "
124 "fonctions B<getcontext>(), B<setcontext>(), B<makecontext>(3) et "
125 "B<swapcontext>(3), qui permettent le changement de contexte au niveau "
126 "utilisateur entre plusieurs fils de contrôle au sein du même processus "
127 "(threads)."
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
134 "type is a structure that has at least the following fields:"
135 msgstr ""
136 "Le type I<mcontext_t> est opaque et dépend de la machine. Le type "
137 "I<ucontext_t> est une structure ayant au moins les champs suivants\\ :"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid ""
144 "typedef struct ucontext_t {\n"
145 " struct ucontext_t *uc_link;\n"
146 " sigset_t uc_sigmask;\n"
147 " stack_t uc_stack;\n"
148 " mcontext_t uc_mcontext;\n"
149 " ...\n"
150 "} ucontext_t;\n"
151 msgstr ""
152 "typedef struct ucontext_t {\n"
153 " struct ucontext_t *uc_link;\n"
154 " sigset_t uc_sigmask;\n"
155 " stack_t uc_stack;\n"
156 " mcontext_t uc_mcontext;\n"
157 " ...\n"
158 "} ucontext_t;\n"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
165 "I<uc_link> points to the context that will be resumed when the current "
166 "context terminates (in case the current context was created using "
167 "B<makecontext>(3)), I<uc_sigmask> is the set of signals blocked in this "
168 "context (see B<sigprocmask>(2)), I<uc_stack> is the stack used by this "
169 "context (see B<sigaltstack>(2)), and I<uc_mcontext> is the machine-specific "
170 "representation of the saved context, that includes the calling thread's "
171 "machine registers."
172 msgstr ""
173 "Les types I<sigset_t> et I<stack_t> sont définis dans I<E<lt>signal.hE<gt>>. "
174 "Ici, I<uc_link> pointe sur le contexte qui doit être restauré lorsque le "
175 "contexte courant se terminera (si le contexte en cours a été créé par "
176 "B<makecontext>(3)), I<uc_sigmask> est l'ensemble des signaux bloqués dans ce "
177 "contexte (consultez B<sigprocmask>(2)), I<uc_stack> est la pile utilisée par "
178 "ce contexte (consultez B<sigaltstack>(2)), et I<uc_mcontext> est la "
179 "représentation \\(em dépendant de la machine \\(em du contexte sauvegardé, "
180 "qui inclut les registres du processeur pour le thread appelant."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "The function B<getcontext>() initializes the structure pointed to by I<ucp> "
187 "to the currently active context."
188 msgstr ""
189 "La fonction B<getcontext>() initialise la structure pointée par I<ucp> avec "
190 "le contexte actuellement actif."
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "The function B<setcontext>() restores the user context pointed to by "
197 "I<ucp>. A successful call does not return. The context should have been "
198 "obtained by a call of B<getcontext>(), or B<makecontext>(3), or received as "
199 "the third argument to a signal handler (see the discussion of the "
200 "B<SA_SIGINFO> flag in B<sigaction>(2))."
201 msgstr ""
202 "La fonction B<setcontext>() restaure le contexte utilisateur pointé par "
203 "I<ucp>. Un appel réussi ne revient pas. Le contexte doit avoir été obtenu "
204 "par un appel B<getcontext>() ou B<makecontext>(3), ou passé en troisième "
205 "argument à un gestionnaire de signal."
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "If the context was obtained by a call of B<getcontext>(), program execution "
212 "continues as if this call just returned."
213 msgstr ""
214 "Si le contexte a été obtenu par un appel B<getcontext>(), l'exécution du "
215 "programme reprend comme si cet appel venait juste de se terminer."
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 "If the context was obtained by a call of B<makecontext>(3), program "
222 "execution continues by a call to the function I<func> specified as the "
223 "second argument of that call to B<makecontext>(3). When the function "
224 "I<func> returns, we continue with the I<uc_link> member of the structure "
225 "I<ucp> specified as the first argument of that call to B<makecontext>(3). "
226 "When this member is NULL, the thread exits."
227 msgstr ""
228 "Si le contexte a été obtenu par un appel B<makecontext>(3), l'exécution du "
229 "programme continue par l'appel de la fonction I<func> indiquée en second "
230 "argument de B<makecontext>(3). Quand la fonction I<func> se termine, on "
231 "continue avec le membre I<uc_link> de la structure I<ucp> spécifiée en "
232 "premier argument de l'appel B<makecontext>(3). Si ce membre est NULL, le "
233 "thread se termine."
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "If the context was obtained by a call to a signal handler, then old standard "
240 "text says that \"program execution continues with the program instruction "
241 "following the instruction interrupted by the signal\". However, this "
242 "sentence was removed in SUSv2, and the present verdict is \"the result is "
243 "unspecified\"."
244 msgstr ""
245 "Si le contexte a été obtenu lors d'un appel à un gestionnaire de signal, "
246 "alors le texte des anciens standards dit que «\\ l'exécution du programme "
247 "continue avec l'instruction suivant celle qui a été interrompue par le "
248 "signal\\ ». Toutefois cette phrase a été supprimée de SUSv2, et remplacée "
249 "par \"«\\ le résultat n'est pas spécifié\\ »."
250
251 #. type: SH
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "RETURN VALUE"
256 msgstr "VALEUR RENVOYÉE"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
263 "return. On error, both return -1 and set I<errno> to indicate the error."
264 msgstr ""
265 "Lorsqu'ils réussissent, B<getcontext>() renvoie B<0> et B<setcontext>() ne "
266 "revient pas. En cas d'erreur, ils retournent B<-1> et définissent I<errno> "
267 "pour indiquer l'erreur."
268
269 #. type: SH
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "ERRORS"
274 msgstr "ERREURS"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid "None defined."
280 msgstr "Aucune définie."
281
282 #. type: SH
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "ATTRIBUTES"
287 msgstr "ATTRIBUTS"
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "For an explanation of the terms used in this section, see B<attributes>(7)."
294 msgstr ""
295 "Pour une explication des termes utilisés dans cette section, consulter "
296 "B<attributes>(7)."
297
298 #. type: tbl table
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "Interface"
303 msgstr "Interface"
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "Attribute"
310 msgstr "Attribut"
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "Value"
317 msgstr "Valeur"
318
319 #. type: tbl table
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid ".na\n"
324 msgstr ".na\n"
325
326 #. type: tbl table
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid ".nh\n"
331 msgstr ".nh\n"
332
333 #. type: tbl table
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid ""
338 "B<getcontext>(),\n"
339 "B<setcontext>()"
340 msgstr ""
341 "B<getcontext>(),\n"
342 "B<setcontext>()"
343
344 #. type: tbl table
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "Thread safety"
349 msgstr "Sécurité des threads"
350
351 #. type: tbl table
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "MT-Safe race:ucp"
356 msgstr "MT-Safe race:ucp"
357
358 #. type: SH
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "STANDARDS"
363 msgstr "NORMES"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "None."
369 msgstr "Aucune."
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "HISTORY"
376 msgstr "HISTORIQUE"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "SUSv2, POSIX.1-2001."
382 msgstr "SUSv2, POSIX.1-2001."
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 msgid ""
388 "POSIX.1-2008 removes these functions, citing portability issues, and "
389 "recommending that applications be rewritten to use POSIX threads instead."
390 msgstr ""
391 "POSIX.1-2008 supprime ces fonctions, en citant des problèmes de portabilité "
392 "et en recommandant à la place que les applications soient récrites en "
393 "utilisant les threads POSIX."
394
395 #. type: SH
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "NOTES"
400 msgstr "NOTES"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "The earliest incarnation of this mechanism was the B<setjmp>(3)/ "
407 "B<longjmp>(3) mechanism. Since that does not define the handling of the "
408 "signal context, the next stage was the B<sigsetjmp>(3)/ B<siglongjmp>(3) "
409 "pair. The present mechanism gives much more control. On the other hand, "
410 "there is no easy way to detect whether a return from B<getcontext>() is "
411 "from the first call, or via a B<setcontext>() call. The user has to invent "
412 "their own bookkeeping device, and a register variable won't do since "
413 "registers are restored."
414 msgstr ""
415 "L'incarnation la plus ancienne de ce mécanisme était constituée de la paire "
416 "B<setjmp>(3)/B<longjmp>(3). Comme ils ne précisent pas la gestion du "
417 "contexte du signal, l'étape suivante fut B<sigsetjmp>(3)/B<siglongjmp>(3). "
418 "Le mécanisme actuel donne plus de contrôle. En revanche, il n'y a pas de "
419 "moyen simple pour savoir si le retour de B<getcontext>() se fait depuis son "
420 "premier appel ou par l'intermédiaire d'un appel B<setcontext>(). "
421 "L'utilisateur doit inventer son propre système de comptabilisation, et pas "
422 "dans un registre, car il serait restauré."
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "When a signal occurs, the current user context is saved and a new context is "
429 "created by the kernel for the signal handler. Do not leave the handler "
430 "using B<longjmp>(3): it is undefined what would happen with contexts. Use "
431 "B<siglongjmp>(3) or B<setcontext>() instead."
432 msgstr ""
433 "Lorsqu'un signal arrive, le contexte utilisateur courant est sauvegardé et "
434 "un nouveau contexte est créé par le noyau pour exécuter le gestionnaire. "
435 "N'utilisez pas B<longjmp>(3) dans le gestionnaire, le comportement est "
436 "indéfini. Utilisez B<siglongjmp>(3) ou B<setcontext>()."
437
438 #. type: SH
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "SEE ALSO"
443 msgstr "VOIR AUSSI"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
450 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
451 msgstr ""
452 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
453 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
454
455 #. type: TH
456 #: debian-trixie
457 #, no-wrap
458 msgid "2024-05-02"
459 msgstr "2 mai 2024"
460
461 #. type: TH
462 #: debian-trixie
463 #, no-wrap
464 msgid "Linux man-pages 6.9.1"
465 msgstr "Pages du manuel de Linux 6.9.1"
466
467 #. type: Plain text
468 #: debian-trixie
469 msgid "Standard C library (I<libc>, I<-lc>)"
470 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
471
472 #. type: TH
473 #: fedora-44 fedora-rawhide
474 #, no-wrap
475 msgid "2024-07-23"
476 msgstr "23 juillet 2024"
477
478 #. type: TH
479 #: fedora-44 fedora-rawhide
480 #, no-wrap
481 msgid "Linux man-pages 6.13"
482 msgstr "Pages du manuel de Linux 6.13"
483
484 #. type: TH
485 #: mageia-cauldron
486 #, no-wrap
487 msgid "Linux man-pages 6.17"
488 msgstr "Pages du manuel de Linux 6.17"
489
490 #. type: TH
491 #: opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "Linux man-pages (unreleased)"
494 msgstr "Pages du manuel de Linux (non publiées)"