| 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-2024. |
| 20 |
msgid "" |
| 21 |
msgstr "" |
| 22 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 23 |
"POT-Creation-Date: 2026-06-05 06:38+0200\n" |
| 24 |
"PO-Revision-Date: 2024-04-22 12:19+0200\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 "pthread_sigmask" |
| 39 |
msgstr "pthread_sigmask" |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 43 |
#: opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "2025-09-21" |
| 46 |
msgstr "21 septembre 2025" |
| 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 "pthread_sigmask - examine and change mask of blocked signals" |
| 65 |
msgstr "pthread_sigmask - Examiner et modifier le masque des signaux bloqués" |
| 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 "POSIX threads library (I<libpthread>,\\ I<-lpthread>)" |
| 78 |
msgstr "Bibliothèque de threads POSIX (I<libpthread>,\\ I<-lpthread>)" |
| 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>signal.hE<gt>>\n" |
| 92 |
msgstr "B<#include E<lt>signal.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 "B<int pthread_sigmask(int >I<how>B<, const sigset_t *>I<set>B<, sigset_t *>I<oldset>B<);>\n" |
| 99 |
msgstr "B<int pthread_sigmask(int >I<how>B<, const sigset_t *>I<set>B<, sigset_t *>I<oldset>B<);>\n" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 106 |
msgstr "" |
| 107 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 108 |
"B<feature_test_macros>(7)) :" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "B<pthread_sigmask>():" |
| 114 |
msgstr "B<pthread_sigmask>() :" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid " _POSIX_C_SOURCE E<gt>= 199506L || _XOPEN_SOURCE E<gt>= 500\n" |
| 121 |
msgstr " _POSIX_C_SOURCE E<gt>= 199506L || _XOPEN_SOURCE E<gt>= 500\n" |
| 122 |
|
| 123 |
#. type: SH |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, no-wrap |
| 127 |
msgid "DESCRIPTION" |
| 128 |
msgstr "DESCRIPTION" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
msgid "" |
| 134 |
"The B<pthread_sigmask>() function is just like B<sigprocmask>(2), with the " |
| 135 |
"difference that its use in multithreaded programs is explicitly specified by " |
| 136 |
"POSIX.1. Other differences are noted in this page." |
| 137 |
msgstr "" |
| 138 |
"La fonction B<pthread_sigmask>() est identique à B<sigprocmask>(2), à la " |
| 139 |
"différence près que son utilisation dans des programmes multithread est " |
| 140 |
"explicitement spécifié dans POSIX.1. D'autres différences sont indiquées " |
| 141 |
"dans cette page." |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"For a description of the arguments and operation of this function, see " |
| 148 |
"B<sigprocmask>(2)." |
| 149 |
msgstr "" |
| 150 |
"Pour une description des arguments et du mode d'opération de cette fonction, " |
| 151 |
"consultez B<sigprocmask>(2)." |
| 152 |
|
| 153 |
#. type: SH |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
#, no-wrap |
| 157 |
msgid "RETURN VALUE" |
| 158 |
msgstr "VALEUR RENVOYÉE" |
| 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 |
"On success, B<pthread_sigmask>() returns 0; on error, it returns an error " |
| 165 |
"number." |
| 166 |
msgstr "" |
| 167 |
"En cas de réussite, B<pthread_sigmask>() renvoie 0 ; en cas d'erreur, elle " |
| 168 |
"renvoie un numéro d'erreur." |
| 169 |
|
| 170 |
#. type: SH |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "ERRORS" |
| 175 |
msgstr "ERREURS" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "See B<sigprocmask>(2)." |
| 181 |
msgstr "Consultez B<sigprocmask>(2)." |
| 182 |
|
| 183 |
#. type: SH |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, no-wrap |
| 187 |
msgid "ATTRIBUTES" |
| 188 |
msgstr "ATTRIBUTS" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
msgid "" |
| 194 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 195 |
msgstr "" |
| 196 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 197 |
"B<attributes>(7)." |
| 198 |
|
| 199 |
#. type: tbl table |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "Interface" |
| 204 |
msgstr "Interface" |
| 205 |
|
| 206 |
#. type: tbl table |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
#, no-wrap |
| 210 |
msgid "Attribute" |
| 211 |
msgstr "Attribut" |
| 212 |
|
| 213 |
#. type: tbl table |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "Value" |
| 218 |
msgstr "Valeur" |
| 219 |
|
| 220 |
#. type: tbl table |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid ".na\n" |
| 225 |
msgstr ".na\n" |
| 226 |
|
| 227 |
#. type: tbl table |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid ".nh\n" |
| 232 |
msgstr ".nh\n" |
| 233 |
|
| 234 |
#. type: tbl table |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "B<pthread_sigmask>()" |
| 239 |
msgstr "B<pthread_sigmask>()" |
| 240 |
|
| 241 |
#. type: tbl table |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "Thread safety" |
| 246 |
msgstr "Sécurité des threads" |
| 247 |
|
| 248 |
#. type: tbl table |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "MT-Safe" |
| 253 |
msgstr "MT-Safe" |
| 254 |
|
| 255 |
#. type: SH |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "STANDARDS" |
| 260 |
msgstr "NORMES" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
msgid "POSIX.1-2008." |
| 266 |
msgstr "POSIX.1-2008." |
| 267 |
|
| 268 |
#. type: SH |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "HISTORY" |
| 273 |
msgstr "HISTORIQUE" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
msgid "POSIX.1-2001." |
| 279 |
msgstr "POSIX.1-2001." |
| 280 |
|
| 281 |
#. type: SH |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, no-wrap |
| 285 |
msgid "NOTES" |
| 286 |
msgstr "NOTES" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "A new thread inherits a copy of its creator's signal mask." |
| 292 |
msgstr "" |
| 293 |
"Un nouveau thread hérite d'une copie du masque de signaux de son créateur." |
| 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 glibc B<pthread_sigmask>() function silently ignores attempts to block " |
| 300 |
"the two real-time signals that are used internally by the NPTL threading " |
| 301 |
"implementation. See B<nptl>(7) for details." |
| 302 |
msgstr "" |
| 303 |
"La fonction B<pthread_sigmask>() de la glibc ignore silencieusement les " |
| 304 |
"tentatives de blocage des deux signaux en temps réel qui sont utilisés en " |
| 305 |
"interne par l'implémentation de threading de NPTL. Consultez B<nptl>(7) pour " |
| 306 |
"des détails." |
| 307 |
|
| 308 |
#. type: SH |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "EXAMPLES" |
| 313 |
msgstr "EXEMPLES" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"The program below blocks some signals in the main thread, and then creates a " |
| 320 |
"dedicated thread to fetch those signals via B<sigwait>(3). The following " |
| 321 |
"shell session demonstrates its use:" |
| 322 |
msgstr "" |
| 323 |
"Le programme ci-dessous bloque certains signaux dans le thread principal, " |
| 324 |
"puis crée un thread dédié pour récupérer ces signaux avec B<sigwait>(3). La " |
| 325 |
"session d'interpréteur de commande ci-dessous démontre l'utilisation du " |
| 326 |
"programme." |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "" |
| 333 |
"$B< ./a.out &>\n" |
| 334 |
"[1] 5423\n" |
| 335 |
"$B< kill -QUIT %1>\n" |
| 336 |
"Signal handling thread got signal 3\n" |
| 337 |
"$B< kill -USR1 %1>\n" |
| 338 |
"Signal handling thread got signal 10\n" |
| 339 |
"$B< kill -TERM %1>\n" |
| 340 |
"[1]+ Terminated ./a.out\n" |
| 341 |
msgstr "" |
| 342 |
"$B< ./a.out &>\n" |
| 343 |
"[1] 5423\n" |
| 344 |
"$B< kill -QUIT %1>\n" |
| 345 |
"Signal handling thread got signal 3\n" |
| 346 |
"$B< kill -USR1 %1>\n" |
| 347 |
"Signal handling thread got signal 10\n" |
| 348 |
"$B< kill -TERM %1>\n" |
| 349 |
"[1]+ Terminated ./a.out\n" |
| 350 |
|
| 351 |
#. type: SS |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "Program source" |
| 356 |
msgstr "Source du programme" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 360 |
#: opensuse-tumbleweed |
| 361 |
#, fuzzy, no-wrap |
| 362 |
#| msgid "" |
| 363 |
#| "#include E<lt>errno.hE<gt>\n" |
| 364 |
#| "#include E<lt>pthread.hE<gt>\n" |
| 365 |
#| "#include E<lt>signal.hE<gt>\n" |
| 366 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 367 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 368 |
#| "#include E<lt>unistd.hE<gt>\n" |
| 369 |
#| "\\&\n" |
| 370 |
#| "/* Simple error handling functions */\n" |
| 371 |
#| "\\&\n" |
| 372 |
#| "#define handle_error_en(en, msg) \\e\n" |
| 373 |
#| " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 374 |
#| "\\&\n" |
| 375 |
#| "static void *\n" |
| 376 |
#| "sig_thread(void *arg)\n" |
| 377 |
#| "{\n" |
| 378 |
#| " sigset_t *set = arg;\n" |
| 379 |
#| " int s, sig;\n" |
| 380 |
#| "\\&\n" |
| 381 |
#| " for (;;) {\n" |
| 382 |
#| " s = sigwait(set, &sig);\n" |
| 383 |
#| " if (s != 0)\n" |
| 384 |
#| " handle_error_en(s, \"sigwait\");\n" |
| 385 |
#| " printf(\"Signal handling thread got signal %d\\en\", sig);\n" |
| 386 |
#| " }\n" |
| 387 |
#| "}\n" |
| 388 |
#| "\\&\n" |
| 389 |
#| "int\n" |
| 390 |
#| "main(void)\n" |
| 391 |
#| "{\n" |
| 392 |
#| " pthread_t thread;\n" |
| 393 |
#| " sigset_t set;\n" |
| 394 |
#| " int s;\n" |
| 395 |
#| "\\&\n" |
| 396 |
#| " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 397 |
#| " will inherit a copy of the signal mask. */\n" |
| 398 |
#| "\\&\n" |
| 399 |
#| " sigemptyset(&set);\n" |
| 400 |
#| " sigaddset(&set, SIGQUIT);\n" |
| 401 |
#| " sigaddset(&set, SIGUSR1);\n" |
| 402 |
#| " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 403 |
#| " if (s != 0)\n" |
| 404 |
#| " handle_error_en(s, \"pthread_sigmask\");\n" |
| 405 |
#| "\\&\n" |
| 406 |
#| " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 407 |
#| " if (s != 0)\n" |
| 408 |
#| " handle_error_en(s, \"pthread_create\");\n" |
| 409 |
#| "\\&\n" |
| 410 |
#| " /* Main thread carries on to create other threads and/or do\n" |
| 411 |
#| " other work. */\n" |
| 412 |
#| "\\&\n" |
| 413 |
#| " pause(); /* Dummy pause so we can test program */\n" |
| 414 |
#| "}\n" |
| 415 |
msgid "" |
| 416 |
"#include E<lt>err.hE<gt>\n" |
| 417 |
"#include E<lt>errno.hE<gt>\n" |
| 418 |
"#include E<lt>pthread.hE<gt>\n" |
| 419 |
"#include E<lt>signal.hE<gt>\n" |
| 420 |
"#include E<lt>stdio.hE<gt>\n" |
| 421 |
"#include E<lt>stdlib.hE<gt>\n" |
| 422 |
"#include E<lt>unistd.hE<gt>\n" |
| 423 |
"\\&\n" |
| 424 |
"/* Simple error handling functions */\n" |
| 425 |
"\\&\n" |
| 426 |
"static void *\n" |
| 427 |
"sig_thread(void *arg)\n" |
| 428 |
"{\n" |
| 429 |
" sigset_t *set = arg;\n" |
| 430 |
" int s, sig;\n" |
| 431 |
"\\&\n" |
| 432 |
" for (;;) {\n" |
| 433 |
" s = sigwait(set, &sig);\n" |
| 434 |
" if (s != 0)\n" |
| 435 |
" errc(EXIT_FAILURE, s, \"sigwait\");\n" |
| 436 |
" printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" |
| 437 |
" }\n" |
| 438 |
"}\n" |
| 439 |
"\\&\n" |
| 440 |
"int\n" |
| 441 |
"main(void)\n" |
| 442 |
"{\n" |
| 443 |
" pthread_t thread;\n" |
| 444 |
" sigset_t set;\n" |
| 445 |
" int s;\n" |
| 446 |
"\\&\n" |
| 447 |
" /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 448 |
" will inherit a copy of the signal mask. */\n" |
| 449 |
"\\&\n" |
| 450 |
" sigemptyset(&set);\n" |
| 451 |
" sigaddset(&set, SIGQUIT);\n" |
| 452 |
" sigaddset(&set, SIGUSR1);\n" |
| 453 |
" s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 454 |
" if (s != 0)\n" |
| 455 |
" errc(EXIT_FAILURE, s, \"pthread_sigmask\");\n" |
| 456 |
"\\&\n" |
| 457 |
" s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 458 |
" if (s != 0)\n" |
| 459 |
" errc(EXIT_FAILURE, s, \"pthread_create\");\n" |
| 460 |
"\\&\n" |
| 461 |
" /* Main thread carries on to create other threads and/or do\n" |
| 462 |
" other work. */\n" |
| 463 |
"\\&\n" |
| 464 |
" pause(); /* Dummy pause so we can test program */\n" |
| 465 |
"}\n" |
| 466 |
msgstr "" |
| 467 |
"#include E<lt>errno.hE<gt>\n" |
| 468 |
"#include E<lt>pthread.hE<gt>\n" |
| 469 |
"#include E<lt>signal.hE<gt>\n" |
| 470 |
"#include E<lt>stdio.hE<gt>\n" |
| 471 |
"#include E<lt>stdlib.hE<gt>\n" |
| 472 |
"#include E<lt>unistd.hE<gt>\n" |
| 473 |
"\\&\n" |
| 474 |
"/* Simple error handling functions */\n" |
| 475 |
"\\&\n" |
| 476 |
"#define handle_error_en(en, msg) \\e\n" |
| 477 |
" do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 478 |
"\\&\n" |
| 479 |
"static void *\n" |
| 480 |
"sig_thread(void *arg)\n" |
| 481 |
"{\n" |
| 482 |
" sigset_t *set = arg;\n" |
| 483 |
" int s, sig;\n" |
| 484 |
"\\&\n" |
| 485 |
" for (;;) {\n" |
| 486 |
" s = sigwait(set, &sig);\n" |
| 487 |
" if (s != 0)\n" |
| 488 |
" handle_error_en(s, \"sigwait\");\n" |
| 489 |
" printf(\"Signal handling thread got signal %d\\en\", sig);\n" |
| 490 |
" }\n" |
| 491 |
"}\n" |
| 492 |
"\\&\n" |
| 493 |
"int\n" |
| 494 |
"main(void)\n" |
| 495 |
"{\n" |
| 496 |
" pthread_t thread;\n" |
| 497 |
" sigset_t set;\n" |
| 498 |
" int s;\n" |
| 499 |
"\\&\n" |
| 500 |
" /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 501 |
" will inherit a copy of the signal mask. */\n" |
| 502 |
"\\&\n" |
| 503 |
" sigemptyset(&set);\n" |
| 504 |
" sigaddset(&set, SIGQUIT);\n" |
| 505 |
" sigaddset(&set, SIGUSR1);\n" |
| 506 |
" s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 507 |
" if (s != 0)\n" |
| 508 |
" handle_error_en(s, \"pthread_sigmask\");\n" |
| 509 |
"\\&\n" |
| 510 |
" s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 511 |
" if (s != 0)\n" |
| 512 |
" handle_error_en(s, \"pthread_create\");\n" |
| 513 |
"\\&\n" |
| 514 |
" /* Main thread carries on to create other threads and/or do\n" |
| 515 |
" other work. */\n" |
| 516 |
"\\&\n" |
| 517 |
" pause(); /* Dummy pause so we can test program */\n" |
| 518 |
"}\n" |
| 519 |
|
| 520 |
#. SRC END |
| 521 |
#. type: SH |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
#, no-wrap |
| 525 |
msgid "SEE ALSO" |
| 526 |
msgstr "VOIR AUSSI" |
| 527 |
|
| 528 |
#. type: Plain text |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
msgid "" |
| 532 |
"B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2), " |
| 533 |
"B<pthread_attr_setsigmask_np>(3), B<pthread_create>(3), B<pthread_kill>(3), " |
| 534 |
"B<sigsetops>(3), B<pthreads>(7), B<signal>(7)" |
| 535 |
msgstr "" |
| 536 |
"B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2), " |
| 537 |
"B<pthread_attr_setsigmask_np>(3), B<pthread_create>(3), B<pthread_kill>(3), " |
| 538 |
"B<sigsetops>(3), B<pthreads>(7), B<signal>(7)" |
| 539 |
|
| 540 |
#. type: TH |
| 541 |
#: debian-trixie |
| 542 |
#, no-wrap |
| 543 |
msgid "2024-06-15" |
| 544 |
msgstr "15 juin 2024" |
| 545 |
|
| 546 |
#. type: TH |
| 547 |
#: debian-trixie |
| 548 |
#, no-wrap |
| 549 |
msgid "Linux man-pages 6.9.1" |
| 550 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: debian-trixie |
| 554 |
msgid "POSIX threads library (I<libpthread>, I<-lpthread>)" |
| 555 |
msgstr "Bibliothèque de threads POSIX (I<libpthread>, I<-lpthread>)" |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: debian-trixie fedora-44 fedora-rawhide |
| 559 |
#, fuzzy, no-wrap |
| 560 |
#| msgid "" |
| 561 |
#| "#include E<lt>errno.hE<gt>\n" |
| 562 |
#| "#include E<lt>pthread.hE<gt>\n" |
| 563 |
#| "#include E<lt>signal.hE<gt>\n" |
| 564 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 565 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 566 |
#| "#include E<lt>unistd.hE<gt>\n" |
| 567 |
#| "\\&\n" |
| 568 |
#| "/* Simple error handling functions */\n" |
| 569 |
#| "\\&\n" |
| 570 |
#| "#define handle_error_en(en, msg) \\e\n" |
| 571 |
#| " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 572 |
#| "\\&\n" |
| 573 |
#| "static void *\n" |
| 574 |
#| "sig_thread(void *arg)\n" |
| 575 |
#| "{\n" |
| 576 |
#| " sigset_t *set = arg;\n" |
| 577 |
#| " int s, sig;\n" |
| 578 |
#| "\\&\n" |
| 579 |
#| " for (;;) {\n" |
| 580 |
#| " s = sigwait(set, &sig);\n" |
| 581 |
#| " if (s != 0)\n" |
| 582 |
#| " handle_error_en(s, \"sigwait\");\n" |
| 583 |
#| " printf(\"Signal handling thread got signal %d\\en\", sig);\n" |
| 584 |
#| " }\n" |
| 585 |
#| "}\n" |
| 586 |
#| "\\&\n" |
| 587 |
#| "int\n" |
| 588 |
#| "main(void)\n" |
| 589 |
#| "{\n" |
| 590 |
#| " pthread_t thread;\n" |
| 591 |
#| " sigset_t set;\n" |
| 592 |
#| " int s;\n" |
| 593 |
#| "\\&\n" |
| 594 |
#| " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 595 |
#| " will inherit a copy of the signal mask. */\n" |
| 596 |
#| "\\&\n" |
| 597 |
#| " sigemptyset(&set);\n" |
| 598 |
#| " sigaddset(&set, SIGQUIT);\n" |
| 599 |
#| " sigaddset(&set, SIGUSR1);\n" |
| 600 |
#| " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 601 |
#| " if (s != 0)\n" |
| 602 |
#| " handle_error_en(s, \"pthread_sigmask\");\n" |
| 603 |
#| "\\&\n" |
| 604 |
#| " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 605 |
#| " if (s != 0)\n" |
| 606 |
#| " handle_error_en(s, \"pthread_create\");\n" |
| 607 |
#| "\\&\n" |
| 608 |
#| " /* Main thread carries on to create other threads and/or do\n" |
| 609 |
#| " other work. */\n" |
| 610 |
#| "\\&\n" |
| 611 |
#| " pause(); /* Dummy pause so we can test program */\n" |
| 612 |
#| "}\n" |
| 613 |
msgid "" |
| 614 |
"#include E<lt>errno.hE<gt>\n" |
| 615 |
"#include E<lt>pthread.hE<gt>\n" |
| 616 |
"#include E<lt>signal.hE<gt>\n" |
| 617 |
"#include E<lt>stdio.hE<gt>\n" |
| 618 |
"#include E<lt>stdlib.hE<gt>\n" |
| 619 |
"#include E<lt>unistd.hE<gt>\n" |
| 620 |
"\\&\n" |
| 621 |
"/* Simple error handling functions */\n" |
| 622 |
"\\&\n" |
| 623 |
"#define handle_error_en(en, msg) \\[rs]\n" |
| 624 |
" do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 625 |
"\\&\n" |
| 626 |
"static void *\n" |
| 627 |
"sig_thread(void *arg)\n" |
| 628 |
"{\n" |
| 629 |
" sigset_t *set = arg;\n" |
| 630 |
" int s, sig;\n" |
| 631 |
"\\&\n" |
| 632 |
" for (;;) {\n" |
| 633 |
" s = sigwait(set, &sig);\n" |
| 634 |
" if (s != 0)\n" |
| 635 |
" handle_error_en(s, \"sigwait\");\n" |
| 636 |
" printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" |
| 637 |
" }\n" |
| 638 |
"}\n" |
| 639 |
"\\&\n" |
| 640 |
"int\n" |
| 641 |
"main(void)\n" |
| 642 |
"{\n" |
| 643 |
" pthread_t thread;\n" |
| 644 |
" sigset_t set;\n" |
| 645 |
" int s;\n" |
| 646 |
"\\&\n" |
| 647 |
" /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 648 |
" will inherit a copy of the signal mask. */\n" |
| 649 |
"\\&\n" |
| 650 |
" sigemptyset(&set);\n" |
| 651 |
" sigaddset(&set, SIGQUIT);\n" |
| 652 |
" sigaddset(&set, SIGUSR1);\n" |
| 653 |
" s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 654 |
" if (s != 0)\n" |
| 655 |
" handle_error_en(s, \"pthread_sigmask\");\n" |
| 656 |
"\\&\n" |
| 657 |
" s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 658 |
" if (s != 0)\n" |
| 659 |
" handle_error_en(s, \"pthread_create\");\n" |
| 660 |
"\\&\n" |
| 661 |
" /* Main thread carries on to create other threads and/or do\n" |
| 662 |
" other work. */\n" |
| 663 |
"\\&\n" |
| 664 |
" pause(); /* Dummy pause so we can test program */\n" |
| 665 |
"}\n" |
| 666 |
msgstr "" |
| 667 |
"#include E<lt>errno.hE<gt>\n" |
| 668 |
"#include E<lt>pthread.hE<gt>\n" |
| 669 |
"#include E<lt>signal.hE<gt>\n" |
| 670 |
"#include E<lt>stdio.hE<gt>\n" |
| 671 |
"#include E<lt>stdlib.hE<gt>\n" |
| 672 |
"#include E<lt>unistd.hE<gt>\n" |
| 673 |
"\\&\n" |
| 674 |
"/* Simple error handling functions */\n" |
| 675 |
"\\&\n" |
| 676 |
"#define handle_error_en(en, msg) \\e\n" |
| 677 |
" do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 678 |
"\\&\n" |
| 679 |
"static void *\n" |
| 680 |
"sig_thread(void *arg)\n" |
| 681 |
"{\n" |
| 682 |
" sigset_t *set = arg;\n" |
| 683 |
" int s, sig;\n" |
| 684 |
"\\&\n" |
| 685 |
" for (;;) {\n" |
| 686 |
" s = sigwait(set, &sig);\n" |
| 687 |
" if (s != 0)\n" |
| 688 |
" handle_error_en(s, \"sigwait\");\n" |
| 689 |
" printf(\"Signal handling thread got signal %d\\en\", sig);\n" |
| 690 |
" }\n" |
| 691 |
"}\n" |
| 692 |
"\\&\n" |
| 693 |
"int\n" |
| 694 |
"main(void)\n" |
| 695 |
"{\n" |
| 696 |
" pthread_t thread;\n" |
| 697 |
" sigset_t set;\n" |
| 698 |
" int s;\n" |
| 699 |
"\\&\n" |
| 700 |
" /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" |
| 701 |
" will inherit a copy of the signal mask. */\n" |
| 702 |
"\\&\n" |
| 703 |
" sigemptyset(&set);\n" |
| 704 |
" sigaddset(&set, SIGQUIT);\n" |
| 705 |
" sigaddset(&set, SIGUSR1);\n" |
| 706 |
" s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" |
| 707 |
" if (s != 0)\n" |
| 708 |
" handle_error_en(s, \"pthread_sigmask\");\n" |
| 709 |
"\\&\n" |
| 710 |
" s = pthread_create(&thread, NULL, &sig_thread, &set);\n" |
| 711 |
" if (s != 0)\n" |
| 712 |
" handle_error_en(s, \"pthread_create\");\n" |
| 713 |
"\\&\n" |
| 714 |
" /* Main thread carries on to create other threads and/or do\n" |
| 715 |
" other work. */\n" |
| 716 |
"\\&\n" |
| 717 |
" pause(); /* Dummy pause so we can test program */\n" |
| 718 |
"}\n" |
| 719 |
|
| 720 |
#. type: TH |
| 721 |
#: fedora-44 fedora-rawhide |
| 722 |
#, no-wrap |
| 723 |
msgid "2024-07-23" |
| 724 |
msgstr "23 juillet 2024" |
| 725 |
|
| 726 |
#. type: TH |
| 727 |
#: fedora-44 fedora-rawhide |
| 728 |
#, no-wrap |
| 729 |
msgid "Linux man-pages 6.13" |
| 730 |
msgstr "Pages du manuel de Linux 6.13" |
| 731 |
|
| 732 |
#. type: TH |
| 733 |
#: mageia-cauldron |
| 734 |
#, no-wrap |
| 735 |
msgid "Linux man-pages 6.17" |
| 736 |
msgstr "Pages du manuel de Linux 6.17" |
| 737 |
|
| 738 |
#. type: TH |
| 739 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 740 |
#, no-wrap |
| 741 |
msgid "Linux man-pages (unreleased)" |
| 742 |
msgstr "Pages du manuel de Linux (non publiées)" |