| 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, 2013. |
| 18 |
# Cédric Boutillier <[email protected]>, 2011, 2012, 2013. |
| 19 |
# Frédéric Hantrais <[email protected]>, 2013, 2014. |
| 20 |
# Jean-Philippe MENGUAL <[email protected]>, 2022-2024. |
| 21 |
msgid "" |
| 22 |
msgstr "" |
| 23 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 24 |
"POT-Creation-Date: 2026-06-05 06:43+0200\n" |
| 25 |
"PO-Revision-Date: 2025-06-10 19:03+0200\n" |
| 26 |
"Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n" |
| 27 |
"Language-Team: French <[email protected]>\n" |
| 28 |
"Language: fr\n" |
| 29 |
"MIME-Version: 1.0\n" |
| 30 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 31 |
"Content-Transfer-Encoding: 8bit\n" |
| 32 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 33 |
"X-Generator: Lokalize 22.12.3\n" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 37 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 38 |
#, no-wrap |
| 39 |
msgid "signalfd" |
| 40 |
msgstr "signalfd" |
| 41 |
|
| 42 |
#. type: TH |
| 43 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 44 |
#: opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "2026-02-08" |
| 47 |
msgstr "8 février 2026" |
| 48 |
|
| 49 |
#. type: TH |
| 50 |
#: archlinux debian-unstable |
| 51 |
#, no-wrap |
| 52 |
msgid "Linux man-pages 6.18" |
| 53 |
msgstr "Pages du manuel de Linux 6.18" |
| 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 "NAME" |
| 60 |
msgstr "NOM" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "signalfd - create a file descriptor for accepting signals" |
| 66 |
msgstr "signalfd - Créer un descripteur de fichier pour accepter des signaux" |
| 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 "LIBRARY" |
| 73 |
msgstr "BIBLIOTHÈQUE" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 77 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 79 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 80 |
|
| 81 |
#. type: SH |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "SYNOPSIS" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "B<#include E<lt>sys/signalfd.hE<gt>>\n" |
| 93 |
msgstr "B<#include E<lt>sys/signalfd.hE<gt>>\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, no-wrap |
| 99 |
msgid "B<int signalfd(int >I<fd>B<, const sigset_t *>I<mask>B<, int >I<flags>B<);>\n" |
| 100 |
msgstr "B<int signalfd(int >I<fd>B<, const sigset_t *>I<mask>B<, int >I<flags>B<);>\n" |
| 101 |
|
| 102 |
#. type: SH |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "DESCRIPTION" |
| 107 |
msgstr "DESCRIPTION" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
msgid "" |
| 113 |
"B<signalfd>() creates a file descriptor that can be used to accept signals " |
| 114 |
"targeted at the caller. This provides an alternative to the use of a signal " |
| 115 |
"handler or B<sigwaitinfo>(2), and has the advantage that the file descriptor " |
| 116 |
"may be monitored by B<select>(2), B<poll>(2), and B<epoll>(7)." |
| 117 |
msgstr "" |
| 118 |
"B<signalfd>() crée un descripteur de fichier qui peut être utilisé pour " |
| 119 |
"accepter des signaux à destination de l'appelant. Cela fournit une " |
| 120 |
"alternative à l'utilisation d'un gestionnaire de signal ou de " |
| 121 |
"B<sigwaitinfo>(2), et a l'avantage que le descripteur de fichier peut être " |
| 122 |
"surveillé avec B<select>(2), B<poll>(2) ou B<epoll>(7)." |
| 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 |
msgid "" |
| 128 |
"The I<mask> argument specifies the set of signals that the caller wishes to " |
| 129 |
"accept via the file descriptor. This argument is a signal set whose " |
| 130 |
"contents can be initialized using the macros described in B<sigsetops>(3). " |
| 131 |
"Normally, the set of signals to be received via the file descriptor should " |
| 132 |
"be blocked using B<sigprocmask>(2), to prevent the signals being handled " |
| 133 |
"according to their default dispositions. It is not possible to receive " |
| 134 |
"B<SIGKILL> or B<SIGSTOP> signals via a signalfd file descriptor; these " |
| 135 |
"signals are silently ignored if specified in I<mask>." |
| 136 |
msgstr "" |
| 137 |
"Le paramètre I<mask> spécifie l'ensemble des signaux que l'appelant veut " |
| 138 |
"accepter par le descripteur de fichier. Ce paramètre est un ensemble de " |
| 139 |
"signaux dont le contenu peut être initialisé en utilisant les macros " |
| 140 |
"décrites dans B<sigsetops>(3). Normalement, l'ensemble des signaux reçus par " |
| 141 |
"le descripteur de fichier devrait être bloqué en utilisant B<sigprocmask>(2) " |
| 142 |
"pour éviter que les signaux soient pris en charge par les gestionnaires par " |
| 143 |
"défaut. Il n'est pas possible de recevoir les signaux B<SIGKILL> ou " |
| 144 |
"B<SIGSTOP> par un descripteur de fichier signalfd ; ces signaux sont " |
| 145 |
"silencieusement ignorés s'ils sont spécifiés dans I<mask>." |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "" |
| 151 |
"If the I<fd> argument is -1, then the call creates a new file descriptor and " |
| 152 |
"associates the signal set specified in I<mask> with that file descriptor. " |
| 153 |
"If I<fd> is not -1, then it must specify a valid existing signalfd file " |
| 154 |
"descriptor, and I<mask> is used to replace the signal set associated with " |
| 155 |
"that file descriptor." |
| 156 |
msgstr "" |
| 157 |
"Si le paramètre I<fd> vaut B<-1>, alors l'appel crée un nouveau descripteur " |
| 158 |
"de fichier et y associe le signal défini dans I<mask>. Si I<fd> ne vaut pas " |
| 159 |
"B<-1> alors il doit indiquer un descripteur de fichier signalfd existant " |
| 160 |
"valable, et I<mask> est utilisé pour remplacer l'ensemble des signaux " |
| 161 |
"associés avec ce descripteur." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"Starting with Linux 2.6.27, the following values may be bitwise ORed in " |
| 168 |
"I<flags> to change the behavior of B<signalfd>():" |
| 169 |
msgstr "" |
| 170 |
"À partir de Linux 2.6.27, les valeurs suivantes peuvent être incluses avec " |
| 171 |
"un OU binaire dans I<flags> pour changer le comportement de B<signalfd>() :" |
| 172 |
|
| 173 |
#. type: TP |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "B<SFD_NONBLOCK>" |
| 178 |
msgstr "B<SFD_NONBLOCK>" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"Set the B<O_NONBLOCK> file status flag on the open file description (see " |
| 185 |
"B<open>(2)) referred to by the new file descriptor. Using this flag saves " |
| 186 |
"extra calls to B<fcntl>(2) to achieve the same result." |
| 187 |
msgstr "" |
| 188 |
"Placer l'attribut d'état de fichier B<O_NONBLOCK> sur la description du " |
| 189 |
"fichier ouvert référencée par le nouveau descripteur de fichier (consulter " |
| 190 |
"B<open>(2)). Utiliser cet attribut économise des appels supplémentaires à " |
| 191 |
"B<fcntl>(2) pour obtenir le même résultat." |
| 192 |
|
| 193 |
#. type: TP |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
#, no-wrap |
| 197 |
msgid "B<SFD_CLOEXEC>" |
| 198 |
msgstr "B<SFD_CLOEXEC>" |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
msgid "" |
| 204 |
"Set the close-on-exec (B<FD_CLOEXEC>) flag on the new file descriptor. See " |
| 205 |
"the description of the B<O_CLOEXEC> flag in B<open>(2) for reasons why this " |
| 206 |
"may be useful." |
| 207 |
msgstr "" |
| 208 |
"Placer l'attribut « close-on-exec » (B<FD_CLOEXEC>) sur le nouveau " |
| 209 |
"descripteur de fichier. Consultez la description de l'attribut B<O_CLOEXEC> " |
| 210 |
"dans B<open>(2) pour savoir pourquoi cela peut être utile." |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
msgid "" |
| 216 |
"Up to Linux 2.6.26, the I<flags> argument is unused, and must be specified " |
| 217 |
"as zero." |
| 218 |
msgstr "" |
| 219 |
"Jusqu'à Linux 2.6.26, le paramètre I<flags> n'est pas utilisé et doit valoir " |
| 220 |
"zéro." |
| 221 |
|
| 222 |
#. type: Plain text |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
msgid "" |
| 226 |
"B<signalfd>() returns a file descriptor that supports the following " |
| 227 |
"operations:" |
| 228 |
msgstr "" |
| 229 |
"B<signalfd>() renvoie un descripteur de fichier qui gère les opérations " |
| 230 |
"suivantes :" |
| 231 |
|
| 232 |
#. type: TP |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
#, no-wrap |
| 236 |
msgid "B<read>(2)" |
| 237 |
msgstr "B<read>(2)" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"If one or more of the signals specified in I<mask> is pending for the " |
| 244 |
"process, then the buffer supplied to B<read>(2) is used to return one or " |
| 245 |
"more I<signalfd_siginfo> structures (see below) that describe the signals. " |
| 246 |
"The B<read>(2) returns information for as many signals as are pending and " |
| 247 |
"will fit in the supplied buffer. The buffer must be at least " |
| 248 |
"I<sizeof(struct signalfd_siginfo)> bytes. The return value of the " |
| 249 |
"B<read>(2) is the total number of bytes read." |
| 250 |
msgstr "" |
| 251 |
"Si un (ou plus) des signaux spécifiés dans I<mask> est en attente pour le " |
| 252 |
"processus, alors le tampon fourni à B<read>(2) est utilisé pour renvoyer une " |
| 253 |
"structure (ou plus) de type I<signalfd_siginfo> (voir ci-dessous) qui décrit " |
| 254 |
"les signaux. B<read>(2) renvoie les informations pour tous les signaux qui " |
| 255 |
"sont en attente et qui tiennent dans le tampon fourni. Le tampon doit avoir " |
| 256 |
"une taille d'au moins I<sizeof(struct signalfd_siginfo)> octets. La valeur " |
| 257 |
"de retour de B<read>(2) est égale au nombre total d'octets lus." |
| 258 |
|
| 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 |
"As a consequence of the B<read>(2), the signals are consumed, so that they " |
| 264 |
"are no longer pending for the process (i.e., will not be caught by signal " |
| 265 |
"handlers, and cannot be accepted using B<sigwaitinfo>(2))." |
| 266 |
msgstr "" |
| 267 |
"En conséquence du B<read>(2), les signaux sont consommés, de telle sorte " |
| 268 |
"qu'ils ne seront plus en attente pour le processus (c'est-à-dire qu'ils ne " |
| 269 |
"seront plus attrapés par les gestionnaires de signaux, et ne seront plus " |
| 270 |
"acceptés par B<sigwaitinfo>(2))." |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"If none of the signals in I<mask> is pending for the process, then the " |
| 277 |
"B<read>(2) either blocks until one of the signals in I<mask> is generated " |
| 278 |
"for the process, or fails with the error B<EAGAIN> if the file descriptor " |
| 279 |
"has been made nonblocking." |
| 280 |
msgstr "" |
| 281 |
"Si aucun des signaux de I<mask> ne sont en attente pour le processus, " |
| 282 |
"B<read>(2) bloquera jusqu'à ce qu'un des signaux de I<mask> soit généré pour " |
| 283 |
"le processus, ou échouera avec l'erreur B<EAGAIN> si le descripteur de " |
| 284 |
"fichier est en mode non bloquant." |
| 285 |
|
| 286 |
#. type: TP |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "B<poll>(2)" |
| 291 |
msgstr "B<poll>(2)" |
| 292 |
|
| 293 |
#. type: TQ |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "B<select>(2)" |
| 298 |
msgstr "B<select>(2)" |
| 299 |
|
| 300 |
#. type: TQ |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "(and similar)" |
| 305 |
msgstr "(et similaire)" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
msgid "" |
| 311 |
"The file descriptor is readable (the B<select>(2) I<readfds> argument; the " |
| 312 |
"B<poll>(2) B<POLLIN> flag) if one or more of the signals in I<mask> is " |
| 313 |
"pending for the process." |
| 314 |
msgstr "" |
| 315 |
"Le descripteur de fichier est lisible (le paramètre I<readfds> de " |
| 316 |
"B<select>(2) ; l'attribut B<POLLIN> de B<poll>(2)) si un signal ou plus de " |
| 317 |
"I<mask> est en attente pour le processus." |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "" |
| 323 |
"The signalfd file descriptor also supports the other file-descriptor " |
| 324 |
"multiplexing APIs: B<pselect>(2), B<ppoll>(2), and B<epoll>(7)." |
| 325 |
msgstr "" |
| 326 |
"Le descripteur de fichier signalfd gère également les autres interfaces de " |
| 327 |
"multiplexage de descripteurs de fichier : B<pselect>(2), B<ppoll>(2) et " |
| 328 |
"B<epoll>(7)." |
| 329 |
|
| 330 |
#. type: TP |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid "B<close>(2)" |
| 335 |
msgstr "B<close>(2)" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "" |
| 341 |
"When the file descriptor is no longer required it should be closed. When " |
| 342 |
"all file descriptors associated with the same signalfd object have been " |
| 343 |
"closed, the resources for object are freed by the kernel." |
| 344 |
msgstr "" |
| 345 |
"Quand le descripteur de fichier n'est plus nécessaire il doit être fermé. " |
| 346 |
"Quand tous les descripteurs de fichier associés au même objet signalfd ont " |
| 347 |
"été fermés, les ressources pour cet objet sont libérées par le noyau." |
| 348 |
|
| 349 |
#. type: SS |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
#, no-wrap |
| 353 |
msgid "The signalfd_siginfo structure" |
| 354 |
msgstr "La structure signalfd_siginfo" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
msgid "" |
| 360 |
"The format of the I<signalfd_siginfo> structure(s) returned by B<read>(2)s " |
| 361 |
"from a signalfd file descriptor is as follows:" |
| 362 |
msgstr "" |
| 363 |
"Les structures I<signalfd_siginfo> renvoyées par B<read>(2) sur un " |
| 364 |
"descripteur de fichier signalfd sont au format suivant :" |
| 365 |
|
| 366 |
#. ssi_trapno is unused on most arches |
| 367 |
#. ssi_addr_lsb: commit b8aeec34175fc8fe8b0d40efea4846dfc1ba663e |
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 370 |
#: opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "" |
| 373 |
"struct signalfd_siginfo {\n" |
| 374 |
" uint32_t ssi_signo; /* Signal number */\n" |
| 375 |
" int32_t ssi_errno; /* Error number (unused) */\n" |
| 376 |
" int32_t ssi_code; /* Signal code */\n" |
| 377 |
" uint32_t ssi_pid; /* PID of sender */\n" |
| 378 |
" uint32_t ssi_uid; /* Real UID of sender */\n" |
| 379 |
" int32_t ssi_fd; /* File descriptor (SIGIO) */\n" |
| 380 |
" uint32_t ssi_tid; /* Kernel timer ID (POSIX timers)\n" |
| 381 |
" uint32_t ssi_band; /* Band event (SIGIO) */\n" |
| 382 |
" uint32_t ssi_overrun; /* POSIX timer overrun count */\n" |
| 383 |
" uint32_t ssi_trapno; /* Trap number that caused signal */\n" |
| 384 |
" int32_t ssi_status; /* Exit status or signal (SIGCHLD) */\n" |
| 385 |
" int32_t ssi_int; /* Integer sent by sigqueue(3) */\n" |
| 386 |
" uint64_t ssi_ptr; /* Pointer sent by sigqueue(3) */\n" |
| 387 |
" uint64_t ssi_utime; /* User CPU time consumed (SIGCHLD) */\n" |
| 388 |
" uint64_t ssi_stime; /* System CPU time consumed\n" |
| 389 |
" (SIGCHLD) */\n" |
| 390 |
" uint64_t ssi_addr; /* Address that generated signal\n" |
| 391 |
" (for hardware-generated signals) */\n" |
| 392 |
" uint16_t ssi_addr_lsb; /* Least significant bit of address\n" |
| 393 |
" (SIGBUS; since Linux 2.6.37) */\n" |
| 394 |
" uint8_t pad[\\f[I]X\\fR]; /* Pad size to 128 bytes (allow for\n" |
| 395 |
" additional fields in the future) */\n" |
| 396 |
"};\n" |
| 397 |
msgstr "" |
| 398 |
"struct signalfd_siginfo {\n" |
| 399 |
" uint32_t ssi_signo; /* Numéro de signal */\n" |
| 400 |
" int32_t ssi_errno; /* Numéro d'erreur (pas utilisé) */\n" |
| 401 |
" int32_t ssi_code; /* Code du signal */\n" |
| 402 |
" uint32_t ssi_pid; /* PID de l'émetteur */\n" |
| 403 |
" uint32_t ssi_uid; /* UID réel de l'émetteur */\n" |
| 404 |
" int32_t ssi_fd; /* Descripteur de fichier (SIGIO) */\n" |
| 405 |
" uint32_t ssi_tid; /* Identifiant de la temporisation\n" |
| 406 |
" du noyau (timers POSIX) */\n" |
| 407 |
" uint32_t ssi_band; /* Événement de bande (SIGIO) */\n" |
| 408 |
" uint32_t ssi_overrun; /* Compte des dépassements de la\n" |
| 409 |
" temporisation POSIX */\n" |
| 410 |
" uint32_t ssi_trapno; /* Numéro de trappe ayant causé le signal */\n" |
| 411 |
" int32_t ssi_status; /* Code de sortie ou signal (SIGCHLD) */\n" |
| 412 |
" int32_t ssi_int; /* Entier envoyé par sigqueue(3) */\n" |
| 413 |
" uint64_t ssi_ptr /* Pointeur envoyé par sigqueue(3) */\n" |
| 414 |
" uint64_t ssi_utime; /* Temps CPU utilisateur consommé (SIGCHLD) */\n" |
| 415 |
" uint64_t ssi_stime; /* Temps CPU système consommé (SIGCHLD) */\n" |
| 416 |
" uint64_t ssi_addr; /* Adresse qui a généré le signal\n" |
| 417 |
" (pour les signaux issu du matériel) */\n" |
| 418 |
" uint16_t ssi_addr_lsb; /* Le bit le plus faible de l'adresse\n" |
| 419 |
" (SIGBUS ; depuis Linux 2.6.37) */\n" |
| 420 |
" uint8_t pad[\\f[I]X\\fR]; /* Remplissage jusqu'à 128 octets\n" |
| 421 |
" (espace prévu pour des champs\n" |
| 422 |
" supplémentaires futurs) */\n" |
| 423 |
"};\n" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
msgid "" |
| 429 |
"Each of the fields in this structure is analogous to the similarly named " |
| 430 |
"field in the I<siginfo_t> structure. The I<siginfo_t> structure is " |
| 431 |
"described in B<sigaction>(2). Not all fields in the returned " |
| 432 |
"I<signalfd_siginfo> structure will be valid for a specific signal; the set " |
| 433 |
"of valid fields can be determined from the value returned in the I<ssi_code> " |
| 434 |
"field. This field is the analog of the I<siginfo_t> I<si_code> field; see " |
| 435 |
"B<sigaction>(2) for details." |
| 436 |
msgstr "" |
| 437 |
"Chacun des champs de cette structure est analogue aux champs de noms " |
| 438 |
"similaires d'une structure I<siginfo_t>. La structure I<siginfo_t> est " |
| 439 |
"décrite dans B<sigaction>(2). Tous les champs de la structure " |
| 440 |
"I<signalfd_siginfo> renvoyée ne seront pas valables pour un signal donné ; " |
| 441 |
"l'ensemble des champs valables peut être déterminé grâce au champ " |
| 442 |
"I<ssi_code> de la valeur de retour. Ce champ est analogue au champ " |
| 443 |
"I<si_code> de I<siginfo_t> ; consultez B<sigaction>(2) pour plus de détails." |
| 444 |
|
| 445 |
#. type: SS |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
#, no-wrap |
| 449 |
msgid "fork(2) semantics" |
| 450 |
msgstr "Sémantique de B<fork>(2)" |
| 451 |
|
| 452 |
# NOTE: s/from/on/ Patch prepared |
| 453 |
# NOTE: queued to? => queued for? Patch prepared |
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "" |
| 458 |
"After a B<fork>(2), the child inherits a copy of the signalfd file " |
| 459 |
"descriptor. A B<read>(2) from the file descriptor in the child will return " |
| 460 |
"information about signals queued to the child." |
| 461 |
msgstr "" |
| 462 |
"Après un B<fork>(2), l'enfant hérite d'une copie du descripteur de fichier " |
| 463 |
"signalfd. Un appel à B<read>(2) sur le descripteur de fichier depuis " |
| 464 |
"l'enfant renverra des informations sur les signaux en attente pour l'enfant." |
| 465 |
|
| 466 |
#. type: SS |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "Semantics of file descriptor passing" |
| 471 |
msgstr "Sémantique pour passer un descripteur de fichier" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"As with other file descriptors, signalfd file descriptors can be passed to " |
| 478 |
"another process via a UNIX domain socket (see B<unix>(7)). In the receiving " |
| 479 |
"process, a B<read>(2) from the received file descriptor will return " |
| 480 |
"information about signals queued to that process." |
| 481 |
msgstr "" |
| 482 |
"Comme avec d'autres descripteurs de fichier, ceux de signalfd peuvent être " |
| 483 |
"passés à un autre processus à l'aide d'un socket de domaine UNIX (voir " |
| 484 |
"B<unix>(7)). Dans le processus récepteur, un B<read>(2) depuis le " |
| 485 |
"descripteur de fichier reçu renverra des informations sur les signaux en " |
| 486 |
"attente pour ce processus." |
| 487 |
|
| 488 |
#. type: SS |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "execve(2) semantics" |
| 493 |
msgstr "Sémantique de B<execve>(2)" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"Just like any other file descriptor, a signalfd file descriptor remains open " |
| 500 |
"across an B<execve>(2), unless it has been marked for close-on-exec (see " |
| 501 |
"B<fcntl>(2)). Any signals that were available for reading before the " |
| 502 |
"B<execve>(2) remain available to the newly loaded program. (This is " |
| 503 |
"analogous to traditional signal semantics, where a blocked signal that is " |
| 504 |
"pending remains pending across an B<execve>(2).)" |
| 505 |
msgstr "" |
| 506 |
"Comme tout descripteur de fichier, un descripteur de fichier signalfd reste " |
| 507 |
"ouvert au travers d'un B<execve>(2), à moins qu'il ait été marqué comme " |
| 508 |
"« close-on-exec » (consultez B<fcntl>(2)). Tout signal qui était disponible " |
| 509 |
"en lecture avant un B<execve>(2) reste disponible pour le nouveau programme. " |
| 510 |
"C'est analogue à la sémantique traditionnelle des signaux, pour laquelle un " |
| 511 |
"signal bloqué qui est en attente reste en attente au travers d'un " |
| 512 |
"B<execve>(2)." |
| 513 |
|
| 514 |
#. type: SS |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid "Thread semantics" |
| 519 |
msgstr "Sémantique des threads" |
| 520 |
|
| 521 |
#. type: Plain text |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
msgid "" |
| 525 |
"The semantics of signalfd file descriptors in a multithreaded program mirror " |
| 526 |
"the standard semantics for signals. In other words, when a thread reads " |
| 527 |
"from a signalfd file descriptor, it will read the signals that are directed " |
| 528 |
"to the thread itself and the signals that are directed to the process (i.e., " |
| 529 |
"the entire thread group). (A thread will not be able to read signals that " |
| 530 |
"are directed to other threads in the process.)" |
| 531 |
msgstr "" |
| 532 |
"La sémantique des descripteurs de fichier signalfd dans un programme " |
| 533 |
"multithreadé copie la sémantique standard des signaux. En d'autres termes, " |
| 534 |
"quand un thread lit un descripteur de fichier signalfd, il lira les signaux " |
| 535 |
"qui sont envoyés pour le thread lui-même ou pour le processus (c'est-à-dire " |
| 536 |
"l'ensemble du groupe de threads). Un thread ne sera pas capable de lire les " |
| 537 |
"signaux qui sont envoyés aux autres threads du processus." |
| 538 |
|
| 539 |
#. type: SS |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "epoll(7) semantics" |
| 544 |
msgstr "Sémantique d'B<epoll>(7)" |
| 545 |
|
| 546 |
#. type: Plain text |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
msgid "" |
| 550 |
"If a process adds (via B<epoll_ctl>(2)) a signalfd file descriptor to an " |
| 551 |
"B<epoll>(7) instance, then B<epoll_wait>(2) returns events only for " |
| 552 |
"signals sent to that process. In particular, if the process then uses " |
| 553 |
"B<fork>(2) to create a child process, then the child will be able to " |
| 554 |
"B<read>(2) signals that are sent to it using the signalfd file descriptor, " |
| 555 |
"but B<epoll_wait>(2) will B<not> indicate that the signalfd file descriptor " |
| 556 |
"is ready. In this scenario, a possible workaround is that after the " |
| 557 |
"B<fork>(2), the child process can close the signalfd file descriptor that it " |
| 558 |
"inherited from the parent process and then create another signalfd file " |
| 559 |
"descriptor and add it to the epoll instance. Alternatively, the parent and " |
| 560 |
"the child could delay creating their (separate) signalfd file descriptors " |
| 561 |
"and adding them to the epoll instance until after the call to B<fork>(2)." |
| 562 |
msgstr "" |
| 563 |
"Si un processus ajoute (à l'aide d'B<epoll_ctl>(2)) un descripteur de " |
| 564 |
"fichier signalfd à une instance B<epoll>(7), B<epoll_wait>(2) ne renvoie des " |
| 565 |
"événements que pour des signaux envoyés à ce processus. En particulier, si " |
| 566 |
"le processus utilise alors B<fork>(2) pour créer son enfant, celui-ci pourra " |
| 567 |
"lire (B<read>(2)) des signaux qui lui sont envoyés en utilisant le " |
| 568 |
"descripteur de fichier signalfd, mais B<epoll_wait>(2) B<n'indiquera pas> " |
| 569 |
"que le descripteur de fichier signalfd est prêt. Dans ce scénario, un " |
| 570 |
"coutournement possible est qu'après le B<fork>(2), le processus enfant " |
| 571 |
"puisse fermer le descripteur de fichier signalfd dont il hérite du parent et " |
| 572 |
"puis créer un autre descripteur de fichier signalfd et l'ajouter à " |
| 573 |
"l'instance epoll. Autrement, le parent et l'enfant pourraient retarder la " |
| 574 |
"création de leurs descripteurs de fichier signalfd (individuels) et les " |
| 575 |
"ajouter à l'instance epoll jusqu'à la fin de l'appel B<fork>(2)." |
| 576 |
|
| 577 |
#. type: SH |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, no-wrap |
| 581 |
msgid "RETURN VALUE" |
| 582 |
msgstr "VALEUR RENVOYÉE" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
msgid "" |
| 588 |
"On success, B<signalfd>() returns a signalfd file descriptor; this is " |
| 589 |
"either a new file descriptor (if I<fd> was -1), or I<fd> if I<fd> was a " |
| 590 |
"valid signalfd file descriptor. On error, -1 is returned and I<errno> is " |
| 591 |
"set to indicate the error." |
| 592 |
msgstr "" |
| 593 |
"S'il réussit, B<signalfd>() renvoie un descripteur de fichier signalfd ; il " |
| 594 |
"s'agit soit d'un nouveau descripteur de fichier (si I<fd> valait B<-1>), ou " |
| 595 |
"I<fd> si I<fd> était un descripteur de fichier signalfd valable. En cas " |
| 596 |
"d'erreur, il renvoie B<-1> et I<errno> contient le code d'erreur." |
| 597 |
|
| 598 |
#. type: SH |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
#, no-wrap |
| 602 |
msgid "ERRORS" |
| 603 |
msgstr "ERREURS" |
| 604 |
|
| 605 |
#. type: TP |
| 606 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 607 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 608 |
#, no-wrap |
| 609 |
msgid "B<EBADF>" |
| 610 |
msgstr "B<EBADF>" |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "The I<fd> file descriptor is not a valid file descriptor." |
| 616 |
msgstr "" |
| 617 |
"Le descripteur de fichier I<fd> n'est pas un descripteur de fichier valable." |
| 618 |
|
| 619 |
#. type: TP |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "B<EINVAL>" |
| 624 |
msgstr "B<EINVAL>" |
| 625 |
|
| 626 |
#. or, the |
| 627 |
#. .I sizemask |
| 628 |
#. argument is not equal to |
| 629 |
#. .IR sizeof(sigset_t) ; |
| 630 |
#. type: Plain text |
| 631 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 632 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 633 |
msgid "I<fd> is not a valid signalfd file descriptor." |
| 634 |
msgstr "I<fd> n'est pas un descripteur de fichier signalfd valable." |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "" |
| 640 |
"I<flags> is invalid; or, in Linux 2.6.26 or earlier, I<flags> is nonzero." |
| 641 |
msgstr "" |
| 642 |
"I<flags> n'est pas correct ; ou, pour les versions de Linux 2.6.26 ou " |
| 643 |
"antérieures, I<flags> n'est pas nul." |
| 644 |
|
| 645 |
#. type: TP |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
#, no-wrap |
| 649 |
msgid "B<EMFILE>" |
| 650 |
msgstr "B<EMFILE>" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
msgid "" |
| 656 |
"The per-process limit on the number of open file descriptors has been " |
| 657 |
"reached." |
| 658 |
msgstr "" |
| 659 |
"La limite du nombre de descripteurs de fichiers par processus a été atteinte." |
| 660 |
|
| 661 |
#. type: TP |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
#, no-wrap |
| 665 |
msgid "B<ENFILE>" |
| 666 |
msgstr "B<ENFILE>" |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
msgid "" |
| 672 |
"The system-wide limit on the total number of open files has been reached." |
| 673 |
msgstr "" |
| 674 |
"La limite du nombre total de fichiers ouverts pour le système entier a été " |
| 675 |
"atteinte." |
| 676 |
|
| 677 |
#. type: TP |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
#, no-wrap |
| 681 |
msgid "B<ENODEV>" |
| 682 |
msgstr "B<ENODEV>" |
| 683 |
|
| 684 |
#. type: Plain text |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
msgid "Could not mount (internal) anonymous inode device." |
| 688 |
msgstr "Impossible de monter (en interne) le périphérique anonyme d'inœud." |
| 689 |
|
| 690 |
#. type: TP |
| 691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 693 |
#, no-wrap |
| 694 |
msgid "B<ENOMEM>" |
| 695 |
msgstr "B<ENOMEM>" |
| 696 |
|
| 697 |
#. type: Plain text |
| 698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 700 |
msgid "There was insufficient memory to create a new signalfd file descriptor." |
| 701 |
msgstr "Pas assez de mémoire pour créer le descripteur de fichier signalfd." |
| 702 |
|
| 703 |
#. type: SH |
| 704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 706 |
#, no-wrap |
| 707 |
msgid "VERSIONS" |
| 708 |
msgstr "VERSIONS" |
| 709 |
|
| 710 |
#. type: SS |
| 711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 713 |
#, no-wrap |
| 714 |
msgid "C library/kernel differences" |
| 715 |
msgstr "Différences entre bibliothèque C et noyau" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 720 |
msgid "" |
| 721 |
"The underlying Linux system call requires an additional argument, I<size_t " |
| 722 |
"sizemask>, which specifies the size of the I<mask> argument. The glibc " |
| 723 |
"B<signalfd>() wrapper function does not include this argument, since it " |
| 724 |
"provides the required value for the underlying system call." |
| 725 |
msgstr "" |
| 726 |
"L'appel système Linux sous-jacent nécessite un paramètre supplémentaire, " |
| 727 |
"I<size_t sizemask>, qui spécifie la taille du paramètre I<mask>. La fonction " |
| 728 |
"enveloppe B<signalfd>() de la glibc n'a pas ce paramètre, puisqu'elle " |
| 729 |
"fournit ce paramètre à l'appel système sous-jacent." |
| 730 |
|
| 731 |
#. type: Plain text |
| 732 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 733 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 734 |
msgid "" |
| 735 |
"There are two underlying Linux system calls: B<signalfd>() and the more " |
| 736 |
"recent B<signalfd4>(). The former system call does not implement a I<flags> " |
| 737 |
"argument. The latter system call implements the I<flags> values described " |
| 738 |
"above. Starting with glibc 2.9, the B<signalfd>() wrapper function will " |
| 739 |
"use B<signalfd4>() where it is available." |
| 740 |
msgstr "" |
| 741 |
"Il y a deux appels système sous-jacents : B<signalfd>() et B<signalfd4>(), " |
| 742 |
"qui est plus récent. Le premier appel système n'implémente pas de paramètre " |
| 743 |
"I<flags>. Le dernier appel système implémente les valeurs de I<flags> " |
| 744 |
"décrites ci-dessous. À partir de la glibc 2.9, la fonction enveloppe " |
| 745 |
"B<signalfd>() utilisera B<signalfd4>() quand il est disponible." |
| 746 |
|
| 747 |
#. type: SH |
| 748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 750 |
#, no-wrap |
| 751 |
msgid "STANDARDS" |
| 752 |
msgstr "NORMES" |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
msgid "Linux." |
| 758 |
msgstr "Linux." |
| 759 |
|
| 760 |
#. type: SH |
| 761 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 762 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 763 |
#, no-wrap |
| 764 |
msgid "HISTORY" |
| 765 |
msgstr "HISTORIQUE" |
| 766 |
|
| 767 |
#. type: TP |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
#, no-wrap |
| 771 |
msgid "B<signalfd>()" |
| 772 |
msgstr "B<signalfd>()" |
| 773 |
|
| 774 |
#. signalfd() is in glibc 2.7, but reportedly does not build |
| 775 |
#. type: Plain text |
| 776 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 777 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 778 |
msgid "Linux 2.6.22, glibc 2.8." |
| 779 |
msgstr "Linux 2.6.22, glibc 2.8." |
| 780 |
|
| 781 |
#. type: TP |
| 782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 784 |
#, no-wrap |
| 785 |
msgid "B<signalfd4>()" |
| 786 |
msgstr "B<signalfd4>()" |
| 787 |
|
| 788 |
#. type: Plain text |
| 789 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 790 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 791 |
msgid "Linux 2.6.27." |
| 792 |
msgstr "Linux 2.6.27." |
| 793 |
|
| 794 |
#. type: SH |
| 795 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 796 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 797 |
#, no-wrap |
| 798 |
msgid "NOTES" |
| 799 |
msgstr "NOTES" |
| 800 |
|
| 801 |
#. type: Plain text |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
msgid "" |
| 805 |
"A process can create multiple signalfd file descriptors. This makes it " |
| 806 |
"possible to accept different signals on different file descriptors. (This " |
| 807 |
"may be useful if monitoring the file descriptors using B<select>(2), " |
| 808 |
"B<poll>(2), or B<epoll>(7): the arrival of different signals will make " |
| 809 |
"different file descriptors ready.) If a signal appears in the I<mask> of " |
| 810 |
"more than one of the file descriptors, then occurrences of that signal can " |
| 811 |
"be read (once) from any one of the file descriptors." |
| 812 |
msgstr "" |
| 813 |
"Un processus peut créer plusieurs descripteurs de fichier signalfd. Cela " |
| 814 |
"permet d'accepter différents signaux sur différents descripteurs de fichier " |
| 815 |
"(et peut être utile si les descripteurs de fichier sont surveillés en " |
| 816 |
"utilisant B<select>(2), B<poll>(2) ou B<epoll>(7) : l'arrivée de différents " |
| 817 |
"signaux rendra différents descripteurs de fichier disponibles). Si un signal " |
| 818 |
"apparaît dans le I<mask> de plusieurs descripteurs de fichier, un signal " |
| 819 |
"reçu pourra être lu (une seule fois) depuis n'importe lequel des " |
| 820 |
"descripteurs." |
| 821 |
|
| 822 |
#. type: Plain text |
| 823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
msgid "" |
| 826 |
"Attempts to include B<SIGKILL> and B<SIGSTOP> in I<mask> are silently " |
| 827 |
"ignored." |
| 828 |
msgstr "" |
| 829 |
"Les tentatives pour inclure B<SIGKILL> et B<SIGSTOP> dans I<mask> sont " |
| 830 |
"ignorées silencieusement." |
| 831 |
|
| 832 |
#. type: Plain text |
| 833 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 834 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 835 |
msgid "" |
| 836 |
"The signal mask employed by a signalfd file descriptor can be viewed via the " |
| 837 |
"entry for the corresponding file descriptor in the process's I</proc/>pidI</" |
| 838 |
"fdinfo> directory. See B<proc>(5) for further details." |
| 839 |
msgstr "" |
| 840 |
"Le masque de signal utilisé par le descripteur de fichier signalfd peut être " |
| 841 |
"visualisé à l'aide de l'entrée de descripteur de fichier correspondante du " |
| 842 |
"répertoire I</proc/>pidI</fdinfo> du processus. Consultez B<proc>(5) pour de " |
| 843 |
"plus amples détails." |
| 844 |
|
| 845 |
#. type: SS |
| 846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 848 |
#, no-wrap |
| 849 |
msgid "Limitations" |
| 850 |
msgstr "Limites" |
| 851 |
|
| 852 |
#. type: Plain text |
| 853 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 854 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 855 |
msgid "" |
| 856 |
"The signalfd mechanism can't be used to receive signals that are " |
| 857 |
"synchronously generated, such as the B<SIGSEGV> signal that results from " |
| 858 |
"accessing an invalid memory address or the B<SIGFPE> signal that results " |
| 859 |
"from an arithmetic error. Such signals can be caught only via signal " |
| 860 |
"handler." |
| 861 |
msgstr "" |
| 862 |
"Le mécanisme signalfd ne peut pas être utilisé pour recevoir des signaux " |
| 863 |
"générés de manière synchrone, tel que le signal B<SIGSEGV> issu d'un accès " |
| 864 |
"non valable à l'adresse de mémoire ou le signal B<SIGFPE> qui provient d'une " |
| 865 |
"erreur arithmétique. De tels signaux ne peuvent être récupérés que par un " |
| 866 |
"gestionnaire de signal." |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 870 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 871 |
msgid "" |
| 872 |
"As described above, in normal usage one blocks the signals that will be " |
| 873 |
"accepted via B<signalfd>(). If spawning a child process to execute a helper " |
| 874 |
"program (that does not need the signalfd file descriptor), then, after the " |
| 875 |
"call to B<fork>(2), you will normally want to unblock those signals before " |
| 876 |
"calling B<execve>(2), so that the helper program can see any signals that it " |
| 877 |
"expects to see. Be aware, however, that this won't be possible in the case " |
| 878 |
"of a helper program spawned behind the scenes by any library function that " |
| 879 |
"the program may call. In such cases, one must fall back to using a " |
| 880 |
"traditional signal handler that writes to a file descriptor monitored by " |
| 881 |
"B<select>(2), B<poll>(2), or B<epoll>(7)." |
| 882 |
msgstr "" |
| 883 |
"Comme décrit ci-dessus, en temps normal, on bloque les signaux qui seront " |
| 884 |
"acceptés à l'aide de B<signalfd>(). Si on force un processus enfant à " |
| 885 |
"exécuter un programme d'aide (ce qui ne nécessite pas le descripteur de " |
| 886 |
"fichier signalfd), alors après l'appel B<fork>(2), vous voudrez débloquer " |
| 887 |
"ces signaux, en principe, avant d'appeler B<execve>(2), pour que le " |
| 888 |
"programme d'aide puisse voir les signaux auxquels il s'attend.Gardez en " |
| 889 |
"tête, toutefois, que cela ne sera pas possible dans le cas d'un programme " |
| 890 |
"d'aide créé en tâche de fond par une fonction de bibliothèque que le " |
| 891 |
"programme peut appeler. Dans ce cas-là, il faut se rabattre sur " |
| 892 |
"l'utilisation d'un gestionnaire de signal traditionnel qui écrit sur un " |
| 893 |
"descripteur de fichier surveillé par B<select>(2), B<poll>(2) ou B<epoll>(7)." |
| 894 |
|
| 895 |
#. type: SH |
| 896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 898 |
#, no-wrap |
| 899 |
msgid "BUGS" |
| 900 |
msgstr "BOGUES" |
| 901 |
|
| 902 |
#. The fix also was put into Linux 2.6.24.5 |
| 903 |
#. type: Plain text |
| 904 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 905 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 906 |
msgid "" |
| 907 |
"Before Linux 2.6.25, the I<ssi_ptr> and I<ssi_int> fields are not filled in " |
| 908 |
"with the data accompanying a signal sent by B<sigqueue>(3)." |
| 909 |
msgstr "" |
| 910 |
"Avant Linux 2.6.25, les champs I<ssi_ptr> et I<ssi_int> n'étaient pas " |
| 911 |
"renseignés avec les données accompagnant un signal envoyé par B<sigqueue>(3)." |
| 912 |
|
| 913 |
#. type: SH |
| 914 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 915 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 916 |
#, no-wrap |
| 917 |
msgid "EXAMPLES" |
| 918 |
msgstr "EXEMPLES" |
| 919 |
|
| 920 |
#. type: Plain text |
| 921 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 922 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 923 |
msgid "" |
| 924 |
"The program below accepts the signals B<SIGINT> and B<SIGQUIT> via a " |
| 925 |
"signalfd file descriptor. The program terminates after accepting a " |
| 926 |
"B<SIGQUIT> signal. The following shell session demonstrates the use of the " |
| 927 |
"program:" |
| 928 |
msgstr "" |
| 929 |
"Le programme ci-dessous accèpte les signaux B<SIGINT> et B<SIGQUIT> en " |
| 930 |
"utilisant un descripteur de fichier signalfd. Le programme se termine après " |
| 931 |
"avoir accepté le signal B<SIGQUIT>. La session shell suivante montre " |
| 932 |
"l'utilisation du programme :" |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 937 |
#, no-wrap |
| 938 |
msgid "" |
| 939 |
"$B< ./signalfd_demo>\n" |
| 940 |
"B<\\[ha]C> # Control-C generates SIGINT\n" |
| 941 |
"Got SIGINT\n" |
| 942 |
"B<\\[ha]C>\n" |
| 943 |
"Got SIGINT\n" |
| 944 |
"B<\\[ha]\\[rs]> # Control-\\[rs] generates SIGQUIT\n" |
| 945 |
"Got SIGQUIT\n" |
| 946 |
"$\n" |
| 947 |
msgstr "" |
| 948 |
"$B< ./signalfd_demo>\n" |
| 949 |
"B<\\[ha]C> # Contrôle-C génère un SIGINT\n" |
| 950 |
"Got SIGINT\n" |
| 951 |
"B<\\[ha]C>\n" |
| 952 |
"Got SIGINT\n" |
| 953 |
"B<\\[ha]\\[rs]> # Contrôle-\\[rs] génère un SIGQUIT\n" |
| 954 |
"Got SIGQUIT\n" |
| 955 |
"$\n" |
| 956 |
|
| 957 |
#. type: SS |
| 958 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 959 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 960 |
#, no-wrap |
| 961 |
msgid "Program source" |
| 962 |
msgstr "Source du programme" |
| 963 |
|
| 964 |
#. type: Plain text |
| 965 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 966 |
#: opensuse-tumbleweed |
| 967 |
#, fuzzy, no-wrap |
| 968 |
#| msgid "" |
| 969 |
#| "#include E<lt>err.hE<gt>\n" |
| 970 |
#| "#include E<lt>signal.hE<gt>\n" |
| 971 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 972 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 973 |
#| "#include E<lt>sys/signalfd.hE<gt>\n" |
| 974 |
#| "#include E<lt>sys/types.hE<gt>\n" |
| 975 |
#| "#include E<lt>unistd.hE<gt>\n" |
| 976 |
#| "\\&\n" |
| 977 |
#| "int\n" |
| 978 |
#| "main(void)\n" |
| 979 |
#| "{\n" |
| 980 |
#| " int sfd;\n" |
| 981 |
#| " ssize_t s;\n" |
| 982 |
#| " sigset_t mask;\n" |
| 983 |
#| " struct signalfd_siginfo fdsi;\n" |
| 984 |
#| "\\&\n" |
| 985 |
#| " sigemptyset(&mask);\n" |
| 986 |
#| " sigaddset(&mask, SIGINT);\n" |
| 987 |
#| " sigaddset(&mask, SIGQUIT);\n" |
| 988 |
#| "\\&\n" |
| 989 |
#| " /* Block signals so that they aren\\[aq]t handled\n" |
| 990 |
#| " according to their default dispositions. */\n" |
| 991 |
#| "\\&\n" |
| 992 |
#| " if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" |
| 993 |
#| " err(EXIT_FAILURE, \"sigprocmask\");\n" |
| 994 |
#| "\\&\n" |
| 995 |
#| " sfd = signalfd(-1, &mask, 0);\n" |
| 996 |
#| " if (sfd == -1)\n" |
| 997 |
#| " err(EXIT_FAILURE, \"signalfd\");\n" |
| 998 |
#| "\\&\n" |
| 999 |
#| " for (;;) {\n" |
| 1000 |
#| " s = read(sfd, &fdsi, sizeof(fdsi));\n" |
| 1001 |
#| " if (s != sizeof(fdsi))\n" |
| 1002 |
#| " err(EXIT_FAILURE, \"read\");\n" |
| 1003 |
#| "\\&\n" |
| 1004 |
#| " if (fdsi.ssi_signo == SIGINT) {\n" |
| 1005 |
#| " printf(\"Got SIGINT\\[rs]n\");\n" |
| 1006 |
#| " } else if (fdsi.ssi_signo == SIGQUIT) {\n" |
| 1007 |
#| " printf(\"Got SIGQUIT\\[rs]n\");\n" |
| 1008 |
#| " exit(EXIT_SUCCESS);\n" |
| 1009 |
#| " } else {\n" |
| 1010 |
#| " printf(\"Read unexpected signal\\[rs]n\");\n" |
| 1011 |
#| " }\n" |
| 1012 |
#| " }\n" |
| 1013 |
#| "}\n" |
| 1014 |
msgid "" |
| 1015 |
"#include E<lt>err.hE<gt>\n" |
| 1016 |
"#include E<lt>signal.hE<gt>\n" |
| 1017 |
"#include E<lt>stdio.hE<gt>\n" |
| 1018 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1019 |
"#include E<lt>sys/signalfd.hE<gt>\n" |
| 1020 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1021 |
"#include E<lt>unistd.hE<gt>\n" |
| 1022 |
"\\&\n" |
| 1023 |
"int\n" |
| 1024 |
"main(void)\n" |
| 1025 |
"{\n" |
| 1026 |
" int sfd;\n" |
| 1027 |
" ssize_t s;\n" |
| 1028 |
" sigset_t mask;\n" |
| 1029 |
" struct signalfd_siginfo fdsi;\n" |
| 1030 |
"\\&\n" |
| 1031 |
" sigemptyset(&mask);\n" |
| 1032 |
" sigaddset(&mask, SIGINT);\n" |
| 1033 |
" sigaddset(&mask, SIGQUIT);\n" |
| 1034 |
"\\&\n" |
| 1035 |
" /* Block signals so that they aren\\[aq]t handled\n" |
| 1036 |
" according to their default dispositions. */\n" |
| 1037 |
"\\&\n" |
| 1038 |
" if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" |
| 1039 |
" err(EXIT_FAILURE, \"sigprocmask\");\n" |
| 1040 |
"\\&\n" |
| 1041 |
" sfd = signalfd(-1, &mask, 0);\n" |
| 1042 |
" if (sfd == -1)\n" |
| 1043 |
" err(EXIT_FAILURE, \"signalfd\");\n" |
| 1044 |
"\\&\n" |
| 1045 |
" for (;;) {\n" |
| 1046 |
" s = read(sfd, &fdsi, sizeof(fdsi));\n" |
| 1047 |
" if (s != sizeof(fdsi))\n" |
| 1048 |
" err(EXIT_FAILURE, \"read\");\n" |
| 1049 |
"\\&\n" |
| 1050 |
" if (fdsi.ssi_signo == SIGINT) {\n" |
| 1051 |
" printf(\"Got SIGINT\\[rs]n\");\n" |
| 1052 |
" } else if (fdsi.ssi_signo == SIGQUIT) {\n" |
| 1053 |
" printf(\"Got SIGQUIT\\[rs]n\");\n" |
| 1054 |
" exit(EXIT_SUCCESS);\n" |
| 1055 |
" } else {\n" |
| 1056 |
" printf(\"Read unexpected signal\\[rs]n\");\n" |
| 1057 |
" }\n" |
| 1058 |
" }\n" |
| 1059 |
"}\n" |
| 1060 |
msgstr "" |
| 1061 |
"#include E<lt>err.hE<gt>\n" |
| 1062 |
"#include E<lt>signal.hE<gt>\n" |
| 1063 |
"#include E<lt>stdio.hE<gt>\n" |
| 1064 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1065 |
"#include E<lt>sys/signalfd.hE<gt>\n" |
| 1066 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1067 |
"#include E<lt>unistd.hE<gt>\n" |
| 1068 |
"\\&\n" |
| 1069 |
"int\n" |
| 1070 |
"main(void)\n" |
| 1071 |
"{\n" |
| 1072 |
" int sfd;\n" |
| 1073 |
" ssize_t s;\n" |
| 1074 |
" sigset_t mask;\n" |
| 1075 |
" struct signalfd_siginfo fdsi;\n" |
| 1076 |
"\\&\n" |
| 1077 |
" sigemptyset(&mask);\n" |
| 1078 |
" sigaddset(&mask, SIGINT);\n" |
| 1079 |
" sigaddset(&mask, SIGQUIT);\n" |
| 1080 |
"\\&\n" |
| 1081 |
" /* Bloquer les signaux pour qu'ils ne soient plus gérés\n" |
| 1082 |
" selon leur disposition par défaut */\n" |
| 1083 |
"\\&\n" |
| 1084 |
" if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" |
| 1085 |
" err(EXIT_FAILURE, \"sigprocmask\");\n" |
| 1086 |
"\\&\n" |
| 1087 |
" sfd = signalfd(-1, &mask, 0);\n" |
| 1088 |
" if (sfd == -1)\n" |
| 1089 |
" err(EXIT_FAILURE, \"signalfd\");\n" |
| 1090 |
"\\&\n" |
| 1091 |
" for (;;) {\n" |
| 1092 |
" s = read(sfd, &fdsi, sizeof(fdsi));\n" |
| 1093 |
" if (s != sizeof(fdsi))\n" |
| 1094 |
" err(EXIT_FAILURE, \"read\");\n" |
| 1095 |
"\\&\n" |
| 1096 |
" if (fdsi.ssi_signo == SIGINT) {\n" |
| 1097 |
" printf(\"Got SIGINT\\[rs]n\");\n" |
| 1098 |
" } else if (fdsi.ssi_signo == SIGQUIT) {\n" |
| 1099 |
" printf(\"Got SIGQUIT\\[rs]n\");\n" |
| 1100 |
" exit(EXIT_SUCCESS);\n" |
| 1101 |
" } else {\n" |
| 1102 |
" printf(\"Lecture d'un signal imprévu\\[rs]n\");\n" |
| 1103 |
" }\n" |
| 1104 |
" }\n" |
| 1105 |
"}\n" |
| 1106 |
|
| 1107 |
#. SRC END |
| 1108 |
#. type: SH |
| 1109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1111 |
#, no-wrap |
| 1112 |
msgid "SEE ALSO" |
| 1113 |
msgstr "VOIR AUSSI" |
| 1114 |
|
| 1115 |
#. type: Plain text |
| 1116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1118 |
msgid "" |
| 1119 |
"B<eventfd>(2), B<poll>(2), B<read>(2), B<select>(2), B<sigaction>(2), " |
| 1120 |
"B<sigprocmask>(2), B<sigwaitinfo>(2), B<timerfd_create>(2), B<sigsetops>(3), " |
| 1121 |
"B<sigwait>(3), B<epoll>(7), B<signal>(7)" |
| 1122 |
msgstr "" |
| 1123 |
"B<eventfd>(2), B<poll>(2), B<read>(2), B<select>(2), B<sigaction>(2), " |
| 1124 |
"B<sigprocmask>(2), B<sigwaitinfo>(2), B<timerfd_create>(2), B<sigsetops>(3), " |
| 1125 |
"B<sigwait>(3), B<epoll>(7), B<signal>(7)" |
| 1126 |
|
| 1127 |
#. type: TH |
| 1128 |
#: debian-trixie |
| 1129 |
#, no-wrap |
| 1130 |
msgid "2024-06-15" |
| 1131 |
msgstr "15 juin 2024" |
| 1132 |
|
| 1133 |
#. type: TH |
| 1134 |
#: debian-trixie |
| 1135 |
#, no-wrap |
| 1136 |
msgid "Linux man-pages 6.9.1" |
| 1137 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 1138 |
|
| 1139 |
#. type: Plain text |
| 1140 |
#: debian-trixie |
| 1141 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1142 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 1143 |
|
| 1144 |
#. ssi_trapno is unused on most arches |
| 1145 |
#. ssi_addr_lsb: commit b8aeec34175fc8fe8b0d40efea4846dfc1ba663e |
| 1146 |
#. type: Plain text |
| 1147 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1148 |
#, no-wrap |
| 1149 |
msgid "" |
| 1150 |
"struct signalfd_siginfo {\n" |
| 1151 |
" uint32_t ssi_signo; /* Signal number */\n" |
| 1152 |
" int32_t ssi_errno; /* Error number (unused) */\n" |
| 1153 |
" int32_t ssi_code; /* Signal code */\n" |
| 1154 |
" uint32_t ssi_pid; /* PID of sender */\n" |
| 1155 |
" uint32_t ssi_uid; /* Real UID of sender */\n" |
| 1156 |
" int32_t ssi_fd; /* File descriptor (SIGIO) */\n" |
| 1157 |
" uint32_t ssi_tid; /* Kernel timer ID (POSIX timers)\n" |
| 1158 |
" uint32_t ssi_band; /* Band event (SIGIO) */\n" |
| 1159 |
" uint32_t ssi_overrun; /* POSIX timer overrun count */\n" |
| 1160 |
" uint32_t ssi_trapno; /* Trap number that caused signal */\n" |
| 1161 |
" int32_t ssi_status; /* Exit status or signal (SIGCHLD) */\n" |
| 1162 |
" int32_t ssi_int; /* Integer sent by sigqueue(3) */\n" |
| 1163 |
" uint64_t ssi_ptr; /* Pointer sent by sigqueue(3) */\n" |
| 1164 |
" uint64_t ssi_utime; /* User CPU time consumed (SIGCHLD) */\n" |
| 1165 |
" uint64_t ssi_stime; /* System CPU time consumed\n" |
| 1166 |
" (SIGCHLD) */\n" |
| 1167 |
" uint64_t ssi_addr; /* Address that generated signal\n" |
| 1168 |
" (for hardware-generated signals) */\n" |
| 1169 |
" uint16_t ssi_addr_lsb; /* Least significant bit of address\n" |
| 1170 |
" (SIGBUS; since Linux 2.6.37) */\n" |
| 1171 |
" uint8_t pad[I<X>]; /* Pad size to 128 bytes (allow for\n" |
| 1172 |
" additional fields in the future) */\n" |
| 1173 |
"};\n" |
| 1174 |
msgstr "" |
| 1175 |
"struct signalfd_siginfo {\n" |
| 1176 |
" uint32_t ssi_signo; /* Numéro de signal */\n" |
| 1177 |
" int32_t ssi_errno; /* Numéro d'erreur (pas utilisé) */\n" |
| 1178 |
" int32_t ssi_code; /* Code du signal */\n" |
| 1179 |
" uint32_t ssi_pid; /* PID de l'émetteur */\n" |
| 1180 |
" uint32_t ssi_uid; /* UID réel de l'émetteur */\n" |
| 1181 |
" int32_t ssi_fd; /* Descripteur de fichier (SIGIO) */\n" |
| 1182 |
" uint32_t ssi_tid; /* Identifiant de la temporisation\n" |
| 1183 |
" du noyau (timers POSIX) */\n" |
| 1184 |
" uint32_t ssi_band; /* Événement de bande (SIGIO) */\n" |
| 1185 |
" uint32_t ssi_overrun; /* Compte des dépassements de la\n" |
| 1186 |
" temporisation POSIX */\n" |
| 1187 |
" uint32_t ssi_trapno; /* Numéro de trappe ayant causé le signal */\n" |
| 1188 |
" int32_t ssi_status; /* Code de sortie ou signal (SIGCHLD) */\n" |
| 1189 |
" int32_t ssi_int; /* Entier envoyé par sigqueue(3) */\n" |
| 1190 |
" uint64_t ssi_ptr /* Pointeur envoyé par sigqueue(3) */\n" |
| 1191 |
" uint64_t ssi_utime; /* Temps CPU utilisateur consommé (SIGCHLD) */\n" |
| 1192 |
" uint64_t ssi_stime; /* Temps CPU système consommé (SIGCHLD) */\n" |
| 1193 |
" uint64_t ssi_addr; /* Adresse qui a généré le signal\n" |
| 1194 |
" (pour les signaux issu du matériel) */\n" |
| 1195 |
" uint16_t ssi_addr_lsb; /* Le bit le plus faible de l'adresse\n" |
| 1196 |
" (SIGBUS ; depuis Linux 2.6.37) */\n" |
| 1197 |
" uint8_t pad[I<X>]; /* Remplissage jusqu'à 128 octets\n" |
| 1198 |
" (espace prévu pour des champs\n" |
| 1199 |
" supplémentaires futurs) */\n" |
| 1200 |
"};\n" |
| 1201 |
|
| 1202 |
#. type: Plain text |
| 1203 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1204 |
#, no-wrap |
| 1205 |
msgid "" |
| 1206 |
"#include E<lt>err.hE<gt>\n" |
| 1207 |
"#include E<lt>signal.hE<gt>\n" |
| 1208 |
"#include E<lt>stdio.hE<gt>\n" |
| 1209 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1210 |
"#include E<lt>sys/signalfd.hE<gt>\n" |
| 1211 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1212 |
"#include E<lt>unistd.hE<gt>\n" |
| 1213 |
"\\&\n" |
| 1214 |
"int\n" |
| 1215 |
"main(void)\n" |
| 1216 |
"{\n" |
| 1217 |
" int sfd;\n" |
| 1218 |
" ssize_t s;\n" |
| 1219 |
" sigset_t mask;\n" |
| 1220 |
" struct signalfd_siginfo fdsi;\n" |
| 1221 |
"\\&\n" |
| 1222 |
" sigemptyset(&mask);\n" |
| 1223 |
" sigaddset(&mask, SIGINT);\n" |
| 1224 |
" sigaddset(&mask, SIGQUIT);\n" |
| 1225 |
"\\&\n" |
| 1226 |
" /* Block signals so that they aren\\[aq]t handled\n" |
| 1227 |
" according to their default dispositions. */\n" |
| 1228 |
"\\&\n" |
| 1229 |
" if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" |
| 1230 |
" err(EXIT_FAILURE, \"sigprocmask\");\n" |
| 1231 |
"\\&\n" |
| 1232 |
" sfd = signalfd(-1, &mask, 0);\n" |
| 1233 |
" if (sfd == -1)\n" |
| 1234 |
" err(EXIT_FAILURE, \"signalfd\");\n" |
| 1235 |
"\\&\n" |
| 1236 |
" for (;;) {\n" |
| 1237 |
" s = read(sfd, &fdsi, sizeof(fdsi));\n" |
| 1238 |
" if (s != sizeof(fdsi))\n" |
| 1239 |
" err(EXIT_FAILURE, \"read\");\n" |
| 1240 |
"\\&\n" |
| 1241 |
" if (fdsi.ssi_signo == SIGINT) {\n" |
| 1242 |
" printf(\"Got SIGINT\\[rs]n\");\n" |
| 1243 |
" } else if (fdsi.ssi_signo == SIGQUIT) {\n" |
| 1244 |
" printf(\"Got SIGQUIT\\[rs]n\");\n" |
| 1245 |
" exit(EXIT_SUCCESS);\n" |
| 1246 |
" } else {\n" |
| 1247 |
" printf(\"Read unexpected signal\\[rs]n\");\n" |
| 1248 |
" }\n" |
| 1249 |
" }\n" |
| 1250 |
"}\n" |
| 1251 |
msgstr "" |
| 1252 |
"#include E<lt>err.hE<gt>\n" |
| 1253 |
"#include E<lt>signal.hE<gt>\n" |
| 1254 |
"#include E<lt>stdio.hE<gt>\n" |
| 1255 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1256 |
"#include E<lt>sys/signalfd.hE<gt>\n" |
| 1257 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1258 |
"#include E<lt>unistd.hE<gt>\n" |
| 1259 |
"\\&\n" |
| 1260 |
"int\n" |
| 1261 |
"main(void)\n" |
| 1262 |
"{\n" |
| 1263 |
" int sfd;\n" |
| 1264 |
" ssize_t s;\n" |
| 1265 |
" sigset_t mask;\n" |
| 1266 |
" struct signalfd_siginfo fdsi;\n" |
| 1267 |
"\\&\n" |
| 1268 |
" sigemptyset(&mask);\n" |
| 1269 |
" sigaddset(&mask, SIGINT);\n" |
| 1270 |
" sigaddset(&mask, SIGQUIT);\n" |
| 1271 |
"\\&\n" |
| 1272 |
" /* Bloquer les signaux pour qu'ils ne soient plus gérés\n" |
| 1273 |
" selon leur disposition par défaut */\n" |
| 1274 |
"\\&\n" |
| 1275 |
" if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" |
| 1276 |
" err(EXIT_FAILURE, \"sigprocmask\");\n" |
| 1277 |
"\\&\n" |
| 1278 |
" sfd = signalfd(-1, &mask, 0);\n" |
| 1279 |
" if (sfd == -1)\n" |
| 1280 |
" err(EXIT_FAILURE, \"signalfd\");\n" |
| 1281 |
"\\&\n" |
| 1282 |
" for (;;) {\n" |
| 1283 |
" s = read(sfd, &fdsi, sizeof(fdsi));\n" |
| 1284 |
" if (s != sizeof(fdsi))\n" |
| 1285 |
" err(EXIT_FAILURE, \"read\");\n" |
| 1286 |
"\\&\n" |
| 1287 |
" if (fdsi.ssi_signo == SIGINT) {\n" |
| 1288 |
" printf(\"Got SIGINT\\[rs]n\");\n" |
| 1289 |
" } else if (fdsi.ssi_signo == SIGQUIT) {\n" |
| 1290 |
" printf(\"Got SIGQUIT\\[rs]n\");\n" |
| 1291 |
" exit(EXIT_SUCCESS);\n" |
| 1292 |
" } else {\n" |
| 1293 |
" printf(\"Lecture d'un signal imprévu\\[rs]n\");\n" |
| 1294 |
" }\n" |
| 1295 |
" }\n" |
| 1296 |
"}\n" |
| 1297 |
|
| 1298 |
#. type: TH |
| 1299 |
#: fedora-44 fedora-rawhide |
| 1300 |
#, no-wrap |
| 1301 |
msgid "2024-07-23" |
| 1302 |
msgstr "23 juillet 2024" |
| 1303 |
|
| 1304 |
#. type: TH |
| 1305 |
#: fedora-44 fedora-rawhide |
| 1306 |
#, no-wrap |
| 1307 |
msgid "Linux man-pages 6.13" |
| 1308 |
msgstr "Pages du manuel de Linux 6.13" |
| 1309 |
|
| 1310 |
#. type: TH |
| 1311 |
#: mageia-cauldron |
| 1312 |
#, no-wrap |
| 1313 |
msgid "Linux man-pages 6.17" |
| 1314 |
msgstr "Pages du manuel de Linux 6.17" |
| 1315 |
|
| 1316 |
#. type: TH |
| 1317 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1318 |
#, no-wrap |
| 1319 |
msgid "Linux man-pages (unreleased)" |
| 1320 |
msgstr "Pages du manuel de Linux (non publiées)" |