| 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, 2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012-2014. |
| 18 |
# Jean-Philippe MENGUAL <[email protected]>, 2020-2023. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: perkamon\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:32+0200\n" |
| 23 |
"PO-Revision-Date: 2024-03-09 17:06+0100\n" |
| 24 |
"Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: Weblate 3.1.1\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "MSGOP" |
| 38 |
msgstr "MSGOP" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-11" |
| 45 |
msgstr "11 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "msgrcv, msgsnd - System V message queue operations" |
| 64 |
msgstr "msgrcv, msgsnd - Opérations sur les files de messages System V" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "BIBLIOTHÈQUE" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "SYNOPSIS" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "B<#include E<lt>sys/msg.hE<gt>>\n" |
| 91 |
msgstr "B<#include E<lt>sys/msg.hE<gt>>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 95 |
#: opensuse-tumbleweed |
| 96 |
#, fuzzy, no-wrap |
| 97 |
#| msgid "" |
| 98 |
#| "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n" |
| 99 |
#| "B< int >I<msgflg>B<);>\n" |
| 100 |
msgid "" |
| 101 |
"B<ssize_t msgrcv(>size_t msgsz;\n" |
| 102 |
"B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n" |
| 103 |
"B< int >I<msgflg>B<);>\n" |
| 104 |
msgstr "" |
| 105 |
"B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n" |
| 106 |
"B< int >I<msgflg>B<);>\n" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 110 |
#: opensuse-tumbleweed |
| 111 |
#, fuzzy, no-wrap |
| 112 |
#| msgid "" |
| 113 |
#| "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n" |
| 114 |
#| "B< int >I<msgflg>B<);>\n" |
| 115 |
msgid "" |
| 116 |
"B<int msgsnd(>size_t msgsz;\n" |
| 117 |
"B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n" |
| 118 |
"B< int >I<msgflg>B<);>\n" |
| 119 |
msgstr "" |
| 120 |
"B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n" |
| 121 |
"B< int >I<msgflg>B<);>\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<msgsnd>() and B<msgrcv>() system calls are used to send messages to, " |
| 135 |
"and receive messages from, a System\\ V message queue. The calling process " |
| 136 |
"must have write permission on the message queue in order to send a message, " |
| 137 |
"and read permission to receive a message." |
| 138 |
msgstr "" |
| 139 |
"Les appels système B<msgsnd>() et B<msgrcv>() servent respectivement à " |
| 140 |
"envoyer et à recevoir des messages d'une file de messages System V. Le " |
| 141 |
"processus appelant doit avoir une permission d'écriture sur la file pour " |
| 142 |
"envoyer un message, et une permission de lecture pour en recevoir un." |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"The I<msgp> argument is a pointer to a caller-defined structure of the " |
| 149 |
"following general form:" |
| 150 |
msgstr "" |
| 151 |
"L'argument I<msgp> est un pointeur vers une structure définie par l'appelant " |
| 152 |
"de la forme générale suivante\\ :" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, no-wrap |
| 158 |
msgid "" |
| 159 |
"struct msgbuf {\n" |
| 160 |
" long mtype; /* message type, must be E<gt> 0 */\n" |
| 161 |
" char mtext[1]; /* message data */\n" |
| 162 |
"};\n" |
| 163 |
msgstr "" |
| 164 |
"struct msgbuf {\n" |
| 165 |
" long mtype; /* type de message, doit être E<gt> 0 */\n" |
| 166 |
" char mtext[1]; /* contenu du message */\n" |
| 167 |
"};\n" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"The I<mtext> field is an array (or other structure) whose size is specified " |
| 174 |
"by I<msgsz>, a nonnegative integer value. Messages of zero length (i.e., no " |
| 175 |
"I<mtext> field) are permitted. The I<mtype> field must have a strictly " |
| 176 |
"positive integer value. This value can be used by the receiving process for " |
| 177 |
"message selection (see the description of B<msgrcv>() below)." |
| 178 |
msgstr "" |
| 179 |
"Le champ I<mtext> est un tableau (ou une autre structure) de taille " |
| 180 |
"I<msgsz>, valeur entière positive ou nulle. Les messages de taille nulle " |
| 181 |
"(sans champ I<mtext>) sont autorisés. Le membre I<mtype> doit avoir une " |
| 182 |
"valeur strictement positive qui puisse être utilisée par le processus " |
| 183 |
"lecteur pour la sélection de messages (voir la description de B<msgrcv>() " |
| 184 |
"ci\\(hydessous)." |
| 185 |
|
| 186 |
#. type: SS |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "msgsnd()" |
| 191 |
msgstr "msgsnd()" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"The B<msgsnd>() system call appends a copy of the message pointed to by " |
| 198 |
"I<msgp> to the message queue whose identifier is specified by I<msqid>." |
| 199 |
msgstr "" |
| 200 |
"L'appel système B<msgsnd>() insère une copie du message pointé par " |
| 201 |
"l'argument I<msgp> dans la file dont l'identifiant est indiqué par la valeur " |
| 202 |
"de l'argument I<msqid>." |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"If sufficient space is available in the queue, B<msgsnd>() succeeds " |
| 209 |
"immediately. The queue capacity is governed by the I<msg_qbytes> field in " |
| 210 |
"the associated data structure for the message queue. During queue creation " |
| 211 |
"this field is initialized to B<MSGMNB> bytes, but this limit can be modified " |
| 212 |
"using B<msgctl>(2). A message queue is considered to be full if either of " |
| 213 |
"the following conditions is true:" |
| 214 |
msgstr "" |
| 215 |
"S'il y a assez de place dans la file, B<msgsnd>() réussit immédiatement. La " |
| 216 |
"capacité de la file est régie par le champ I<msg_qbytes> de la structure " |
| 217 |
"associée à la file de messages. Durant la création de la file, ce champ est " |
| 218 |
"initialisé à B<MSGMNB> octets, mais cette limite peut être modifiée avec " |
| 219 |
"B<msgctl>(2). Une file de message est considérée pleine si une de ces " |
| 220 |
"conditions est remplie :" |
| 221 |
|
| 222 |
#. type: IP |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "\\[bu]" |
| 227 |
msgstr "-" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "" |
| 233 |
"Adding a new message to the queue would cause the total number of bytes in " |
| 234 |
"the queue to exceed the queue's maximum size (the I<msg_qbytes> field)." |
| 235 |
msgstr "" |
| 236 |
"Après l'ajout d'un message à la file, le nombre total d'octets dans la file " |
| 237 |
"aurait dépassé la taille maximale de la file (champ I<msg_qbytes>)." |
| 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 |
"Adding another message to the queue would cause the total number of messages " |
| 244 |
"in the queue to exceed the queue's maximum size (the I<msg_qbytes> field). " |
| 245 |
"This check is necessary to prevent an unlimited number of zero-length " |
| 246 |
"messages being placed on the queue. Although such messages contain no data, " |
| 247 |
"they nevertheless consume (locked) kernel memory." |
| 248 |
msgstr "" |
| 249 |
"Après l'ajout d'un message à la file, le nombre total de messages dans la " |
| 250 |
"file aurait dépassé la taille maximale de la file (champ " |
| 251 |
"I<msg_qbytes>).Cette vérification permet d'éviter qu'un nombre illimité de " |
| 252 |
"messages de taille nulle soit ajouté à la file. Bien que tels messages ne " |
| 253 |
"contiennent pas de données, ils consomment néanmoins de la mémoire du noyau, " |
| 254 |
"sujette à un verrou." |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "" |
| 260 |
"If insufficient space is available in the queue, then the default behavior " |
| 261 |
"of B<msgsnd>() is to block until space becomes available. If B<IPC_NOWAIT> " |
| 262 |
"is specified in I<msgflg>, then the call instead fails with the error " |
| 263 |
"B<EAGAIN>." |
| 264 |
msgstr "" |
| 265 |
"S'il n'y a pas assez de place, alors le comportement par défaut de " |
| 266 |
"B<msgsnd>() est de bloquer jusqu'à obtenir suffisamment d'espace. En " |
| 267 |
"indiquant B<IPC_NOWAIT> dans l'argument I<msgflg>, le message ne sera pas " |
| 268 |
"envoyé et l'appel système échouera en retournant B<EAGAIN> dans B<errno>." |
| 269 |
|
| 270 |
#. type: Plain text |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
msgid "A blocked B<msgsnd>() call may also fail if:" |
| 274 |
msgstr "Un appel à B<msgsnd>() bloqué peut échouer si\\ :" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "" |
| 280 |
"the queue is removed, in which case the system call fails with I<errno> set " |
| 281 |
"to B<EIDRM>; or" |
| 282 |
msgstr "" |
| 283 |
"la file est supprimée, auquel cas l'appel système échoue avec I<errno> " |
| 284 |
"valant B<EIDRM> ; ou" |
| 285 |
|
| 286 |
# NOTE: Formatting: B<see> |
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 289 |
#: opensuse-tumbleweed |
| 290 |
#, fuzzy |
| 291 |
#| msgid "" |
| 292 |
#| "a signal is caught, in which case the system call fails with I<errno> set " |
| 293 |
#| "to B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically " |
| 294 |
#| "restarted after being interrupted by a signal handler, regardless of the " |
| 295 |
#| "setting of the B<SA_RESTART> flag when establishing a signal handler.)" |
| 296 |
msgid "" |
| 297 |
"a signal is caught, in which case the system call fails with I<errno> set to " |
| 298 |
"B<EINTR>; see B<signal>(7). (B<msgsnd>() is never automatically restarted " |
| 299 |
"after being interrupted by a signal handler, regardless of the setting of " |
| 300 |
"the B<SA_RESTART> flag when establishing a signal handler.)" |
| 301 |
msgstr "" |
| 302 |
"un signal a été intercepté, auquel cas l'appel système échoue avec I<errno> " |
| 303 |
"valant B<EINTR> ; consultez B<signal>(7). (B<msgsnd>() n'est jamais relancé " |
| 304 |
"automatiquement après interruption par un gestionnaire de signal, quelle que " |
| 305 |
"soit la configuration de B<SA_RESTART> lors de l'installation du " |
| 306 |
"gestionnaire.)" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "" |
| 312 |
"Upon successful completion the message queue data structure is updated as " |
| 313 |
"follows:" |
| 314 |
msgstr "" |
| 315 |
"Si l'appel système réussit, la structure décrivant la file de messages est " |
| 316 |
"mise à jour comme suit." |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "I<msg_lspid> is set to the process ID of the calling process." |
| 322 |
msgstr "I<msg_lspid> contient le PID du processus appelant." |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
msgid "I<msg_qnum> is incremented by 1." |
| 328 |
msgstr "I<msg_qnum> est incrémenté de B<1>." |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "I<msg_stime> is set to the current time." |
| 334 |
msgstr "I<msg_stime> est rempli avec l'heure actuelle." |
| 335 |
|
| 336 |
#. type: SS |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
#, no-wrap |
| 340 |
msgid "msgrcv()" |
| 341 |
msgstr "msgrcv()" |
| 342 |
|
| 343 |
#. type: Plain text |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
msgid "" |
| 347 |
"The B<msgrcv>() system call removes a message from the queue specified by " |
| 348 |
"I<msqid> and places it in the buffer pointed to by I<msgp>." |
| 349 |
msgstr "" |
| 350 |
"L'appel système B<msgrcv>() supprime un message depuis la file indiquée par " |
| 351 |
"I<msqid> et le place dans le tampon pointé par I<msgp>." |
| 352 |
|
| 353 |
#. type: Plain text |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
msgid "" |
| 357 |
"The argument I<msgsz> specifies the maximum size in bytes for the member " |
| 358 |
"I<mtext> of the structure pointed to by the I<msgp> argument. If the " |
| 359 |
"message text has length greater than I<msgsz>, then the behavior depends on " |
| 360 |
"whether B<MSG_NOERROR> is specified in I<msgflg>. If B<MSG_NOERROR> is " |
| 361 |
"specified, then the message text will be truncated (and the truncated part " |
| 362 |
"will be lost); if B<MSG_NOERROR> is not specified, then the message isn't " |
| 363 |
"removed from the queue and the system call fails returning -1 with I<errno> " |
| 364 |
"set to B<E2BIG>." |
| 365 |
msgstr "" |
| 366 |
"L'argument I<msgsz> indique la taille maximale en octets du membre I<mtext> " |
| 367 |
"de la structure pointée par l'argument I<msgp>. Si le contenu du message est " |
| 368 |
"plus long que I<msgsz> octets, le comportement dépend de la présence ou non " |
| 369 |
"de B<MSG_NOERROR> dans I<msgflg>. Si B<MSG_NOERROR> est spécifié, alors le " |
| 370 |
"message sera tronqué (et la partie tronquée sera perdue)\\ ; si " |
| 371 |
"B<MSG_NOERROR> n'est pas spécifié, le message ne sera pas extrait de la " |
| 372 |
"file, et l'appel système échouera en renvoyant B<-1> et en indiquant " |
| 373 |
"B<E2BIG> dans I<errno>." |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"Unless B<MSG_COPY> is specified in I<msgflg> (see below), the I<msgtyp> " |
| 380 |
"argument specifies the type of message requested, as follows:" |
| 381 |
msgstr "" |
| 382 |
"À moins que B<MSG_COPY> ne soit indiqué dans I<msgflg> (voir ci-dessous), " |
| 383 |
"l’argument I<msgtyp> indique le type de message désiré." |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "If I<msgtyp> is 0, then the first message in the queue is read." |
| 389 |
msgstr "Si I<msgtyp> vaut B<0>, le premier message est lu." |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "" |
| 395 |
"If I<msgtyp> is greater than 0, then the first message in the queue of type " |
| 396 |
"I<msgtyp> is read, unless B<MSG_EXCEPT> was specified in I<msgflg>, in which " |
| 397 |
"case the first message in the queue of type not equal to I<msgtyp> will be " |
| 398 |
"read." |
| 399 |
msgstr "" |
| 400 |
"Si I<msgtyp> est supérieur à B<0>, alors le premier message de type " |
| 401 |
"I<msgtyp> est extrait de la file. Si I<msgflg> contient B<MSG_EXCEPT> " |
| 402 |
"l'inverse est effectué, le premier message de type différent de I<msgtyp> " |
| 403 |
"est extrait de la file." |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
msgid "" |
| 409 |
"If I<msgtyp> is less than 0, then the first message in the queue with the " |
| 410 |
"lowest type less than or equal to the absolute value of I<msgtyp> will be " |
| 411 |
"read." |
| 412 |
msgstr "" |
| 413 |
"Si I<msgtyp> est inférieur à B<0>, le premier message de la file avec un " |
| 414 |
"type le plus proche inférieur ou égal à la valeur absolue de I<msgtyp> est " |
| 415 |
"extrait." |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"The I<msgflg> argument is a bit mask constructed by ORing together zero or " |
| 422 |
"more of the following flags:" |
| 423 |
msgstr "" |
| 424 |
"L'argument I<msgflg> est composé d'un I<OU> binaire «\\ |\\ » avec les " |
| 425 |
"attributs suivants." |
| 426 |
|
| 427 |
#. type: TP |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid "B<IPC_NOWAIT>" |
| 432 |
msgstr "B<IPC_NOWAIT>" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"Return immediately if no message of the requested type is in the queue. The " |
| 439 |
"system call fails with I<errno> set to B<ENOMSG>." |
| 440 |
msgstr "" |
| 441 |
"S’arrêter immédiatement si aucun message du type désiré n'est présent dans " |
| 442 |
"la file. L'appel système échoue et I<errno> est configuré à B<ENOMSG>." |
| 443 |
|
| 444 |
#. type: TP |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "B<MSG_COPY> (since Linux 3.8)" |
| 449 |
msgstr "B<MSG_COPY> (depuis Linux 3.8)" |
| 450 |
|
| 451 |
#. commit 4a674f34ba04a002244edaf891b5da7fc1473ae8 |
| 452 |
#. type: Plain text |
| 453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 455 |
msgid "" |
| 456 |
"Nondestructively fetch a copy of the message at the ordinal position in the " |
| 457 |
"queue specified by I<msgtyp> (messages are considered to be numbered " |
| 458 |
"starting at 0)." |
| 459 |
msgstr "" |
| 460 |
"Récupérer une copie de façon non destructive du message dans la file à la " |
| 461 |
"position ordinale indiquée par I<msgtyp> (les messages sont considérées " |
| 462 |
"numérotés à partir de B<0>)." |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "" |
| 468 |
"This flag must be specified in conjunction with B<IPC_NOWAIT>, with the " |
| 469 |
"result that, if there is no message available at the given position, the " |
| 470 |
"call fails immediately with the error B<ENOMSG>. Because they alter the " |
| 471 |
"meaning of I<msgtyp> in orthogonal ways, B<MSG_COPY> and B<MSG_EXCEPT> may " |
| 472 |
"not both be specified in I<msgflg>." |
| 473 |
msgstr "" |
| 474 |
"Cet attribut doit être indiqué en conjonction avec B<IPC_NOWAIT>, de telle " |
| 475 |
"sorte que si aucun message n’est disponible à la position donnée, l’appel " |
| 476 |
"échoue immédiatement avec l’erreur B<ENOMSG>. Parce qu'ils modifient le sens " |
| 477 |
"de I<msgtyp> de manière opposée, B<MSG_COPY> et B<MSG_EXCEPT> ne peuvent " |
| 478 |
"être définis simultanément dans I<msgflg>." |
| 479 |
|
| 480 |
#. type: Plain text |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
msgid "" |
| 484 |
"The B<MSG_COPY> flag was added for the implementation of the kernel " |
| 485 |
"checkpoint-restore facility and is available only if the kernel was built " |
| 486 |
"with the B<CONFIG_CHECKPOINT_RESTORE> option." |
| 487 |
msgstr "" |
| 488 |
"L'attribut B<MSG_COPY> a été ajouté pour l’implémentation du point de " |
| 489 |
"restauration du noyau et n’est disponible que si le noyau a été compilé avec " |
| 490 |
"l’option B<CONFIG_CHECKPOINT_RESTORE>." |
| 491 |
|
| 492 |
#. type: TP |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
#, no-wrap |
| 496 |
msgid "B<MSG_EXCEPT>" |
| 497 |
msgstr "B<MSG_EXCEPT>" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "" |
| 503 |
"Used with I<msgtyp> greater than 0 to read the first message in the queue " |
| 504 |
"with message type that differs from I<msgtyp>." |
| 505 |
msgstr "" |
| 506 |
"Utilisé avec I<msgtyp> supérieur à B<0> pour lire les messages de type " |
| 507 |
"différent de I<msgtyp>." |
| 508 |
|
| 509 |
#. type: TP |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "B<MSG_NOERROR>" |
| 514 |
msgstr "B<MSG_NOERROR>" |
| 515 |
|
| 516 |
#. type: Plain text |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
msgid "To truncate the message text if longer than I<msgsz> bytes." |
| 520 |
msgstr "Tronquer silencieusement les messages plus longs que I<msgsz> octets." |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
msgid "" |
| 526 |
"If no message of the requested type is available and B<IPC_NOWAIT> isn't " |
| 527 |
"specified in I<msgflg>, the calling process is blocked until one of the " |
| 528 |
"following conditions occurs:" |
| 529 |
msgstr "" |
| 530 |
"Si aucun message du type requis n'est disponible et si on n'a pas demandé " |
| 531 |
"B<IPC_NOWAIT> dans I<msgflg>, le processus appelant est bloqué jusqu'à " |
| 532 |
"l'occurrence d'un des événements suivants:" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "A message of the desired type is placed in the queue." |
| 538 |
msgstr "Un message du type désiré arrive dans la file." |
| 539 |
|
| 540 |
#. type: Plain text |
| 541 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 542 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 543 |
msgid "" |
| 544 |
"The message queue is removed from the system. In this case, the system call " |
| 545 |
"fails with I<errno> set to B<EIDRM>." |
| 546 |
msgstr "" |
| 547 |
"La file de messages est supprimée. L'appel système échoue et I<errno> " |
| 548 |
"contient B<EIDRM>." |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
msgid "" |
| 554 |
"The calling process catches a signal. In this case, the system call fails " |
| 555 |
"with I<errno> set to B<EINTR>. (B<msgrcv>() is never automatically " |
| 556 |
"restarted after being interrupted by a signal handler, regardless of the " |
| 557 |
"setting of the B<SA_RESTART> flag when establishing a signal handler.)" |
| 558 |
msgstr "" |
| 559 |
"Le processus appelant intercepte un signal. Dans ce cas l'appel système " |
| 560 |
"échoue avec I<errno> valant B<EINTR>. (B<msgrcv>() n'est jamais relancé " |
| 561 |
"automatiquement après interruption par un gestionnaire de signal, quelle que " |
| 562 |
"soit la configuration de B<SA_RESTART> lors de l'installation du " |
| 563 |
"gestionnaire.)" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
msgid "I<msg_lrpid> is set to the process ID of the calling process." |
| 569 |
msgstr "I<msg_lrpid> est rempli avec le PID du processus appelant." |
| 570 |
|
| 571 |
#. type: Plain text |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
msgid "I<msg_qnum> is decremented by 1." |
| 575 |
msgstr "I<msg_qnum> est décrémenté de B<1>." |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
msgid "I<msg_rtime> is set to the current time." |
| 581 |
msgstr "I<msg_rtime> est rempli avec l'heure actuelle." |
| 582 |
|
| 583 |
#. type: SH |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
#, no-wrap |
| 587 |
msgid "RETURN VALUE" |
| 588 |
msgstr "VALEUR RENVOYÉE" |
| 589 |
|
| 590 |
#. type: Plain text |
| 591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
msgid "" |
| 594 |
"On success, B<msgsnd>() returns 0 and B<msgrcv>() returns the number of " |
| 595 |
"bytes actually copied into the I<mtext> array. On failure, both functions " |
| 596 |
"return -1, and set I<errno> to indicate the error." |
| 597 |
msgstr "" |
| 598 |
"En cas de succès, B<msgsnd>() renvoie B<0> et B<msgrcv>() renvoie le nombre " |
| 599 |
"d'octets vraiment copiés dans la table I<mtext>. En cas d'échec les deux " |
| 600 |
"appels système renvoient B<-1> et définissent I<errno> pour indiquer " |
| 601 |
"l'erreur." |
| 602 |
|
| 603 |
#. type: SH |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
#, no-wrap |
| 607 |
msgid "ERRORS" |
| 608 |
msgstr "ERREURS" |
| 609 |
|
| 610 |
#. type: Plain text |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
msgid "B<msgsnd>() can fail with the following errors:" |
| 614 |
msgstr "B<msgsnd>() peut échouer avec les valeurs suivantes :" |
| 615 |
|
| 616 |
#. type: TP |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "B<EACCES>" |
| 621 |
msgstr "B<EACCES>" |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
msgid "" |
| 627 |
"The calling process does not have write permission on the message queue, and " |
| 628 |
"does not have the B<CAP_IPC_OWNER> capability in the user namespace that " |
| 629 |
"governs its IPC namespace." |
| 630 |
msgstr "" |
| 631 |
"Le processus appelant n'a pas de permission de lecture dans la file et n'a " |
| 632 |
"pas la capacité B<CAP_IPC_OWNER> dans l'espace de noms qui gère son espace " |
| 633 |
"de noms IPC." |
| 634 |
|
| 635 |
#. type: TP |
| 636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
#, no-wrap |
| 639 |
msgid "B<EAGAIN>" |
| 640 |
msgstr "B<EAGAIN>" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
msgid "" |
| 646 |
"The message can't be sent due to the I<msg_qbytes> limit for the queue and " |
| 647 |
"B<IPC_NOWAIT> was specified in I<msgflg>." |
| 648 |
msgstr "" |
| 649 |
"Le message n'a pas pu être envoyé à cause de la limite I<msg_qbytes> pour la " |
| 650 |
"file et de la requête B<IPC_NOWAIT> dans I<msgflg>." |
| 651 |
|
| 652 |
#. type: TP |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
#, no-wrap |
| 656 |
msgid "B<EFAULT>" |
| 657 |
msgstr "B<EFAULT>" |
| 658 |
|
| 659 |
#. type: Plain text |
| 660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
msgid "The address pointed to by I<msgp> isn't accessible." |
| 663 |
msgstr "I<msgp> pointe en dehors de l'espace d'adressage accessible." |
| 664 |
|
| 665 |
#. type: TP |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
#, no-wrap |
| 669 |
msgid "B<EIDRM>" |
| 670 |
msgstr "B<EIDRM>" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
msgid "The message queue was removed." |
| 676 |
msgstr "La file de messages a été supprimée." |
| 677 |
|
| 678 |
#. type: TP |
| 679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
#, no-wrap |
| 682 |
msgid "B<EINTR>" |
| 683 |
msgstr "B<EINTR>" |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
msgid "" |
| 689 |
"Sleeping on a full message queue condition, the process caught a signal." |
| 690 |
msgstr "Un signal est arrivé avant d'avoir pu écrire quoi que ce soit." |
| 691 |
|
| 692 |
#. type: TP |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
#, no-wrap |
| 696 |
msgid "B<EINVAL>" |
| 697 |
msgstr "B<EINVAL>" |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
msgid "" |
| 703 |
"Invalid I<msqid> value, or nonpositive I<mtype> value, or invalid I<msgsz> " |
| 704 |
"value (less than 0 or greater than the system value B<MSGMAX>)." |
| 705 |
msgstr "" |
| 706 |
"I<msqid> est n'est pas valable, ou bien I<mtype> n'est pas positif, ou bien " |
| 707 |
"I<msgsz> est non valable (négatif ou supérieur à la valeur B<MSGMAX> du " |
| 708 |
"système)." |
| 709 |
|
| 710 |
#. type: TP |
| 711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 713 |
#, no-wrap |
| 714 |
msgid "B<ENOMEM>" |
| 715 |
msgstr "B<ENOMEM>" |
| 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 system does not have enough memory to make a copy of the message pointed " |
| 722 |
"to by I<msgp>." |
| 723 |
msgstr "" |
| 724 |
"Le système n'a pas assez de mémoire pour copier le message pointé par " |
| 725 |
"I<msgp>." |
| 726 |
|
| 727 |
#. type: Plain text |
| 728 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 729 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 730 |
msgid "B<msgrcv>() can fail with the following errors:" |
| 731 |
msgstr "B<msgrcv>() peut échouer avec les valeurs suivantes :" |
| 732 |
|
| 733 |
#. type: TP |
| 734 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 735 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "B<E2BIG>" |
| 738 |
msgstr "B<E2BIG>" |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
msgid "" |
| 744 |
"The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't " |
| 745 |
"specified in I<msgflg>." |
| 746 |
msgstr "" |
| 747 |
"Le message est plus long que I<msgsz>, et B<MSG_NOERROR> n'a pas été indiqué " |
| 748 |
"dans I<msgflg>." |
| 749 |
|
| 750 |
#. type: Plain text |
| 751 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 752 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 753 |
msgid "" |
| 754 |
"The calling process does not have read permission on the message queue, and " |
| 755 |
"does not have the B<CAP_IPC_OWNER> capability in the user namespace that " |
| 756 |
"governs its IPC namespace." |
| 757 |
msgstr "" |
| 758 |
"Le processus appelant n'a pas de permission de lecture dans la file et n'a " |
| 759 |
"pas la capacité B<CAP_IPC_OWNER> dans l'espace de noms qui gère son espace " |
| 760 |
"de noms IPC." |
| 761 |
|
| 762 |
#. type: Plain text |
| 763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 765 |
msgid "" |
| 766 |
"While the process was sleeping to receive a message, the message queue was " |
| 767 |
"removed." |
| 768 |
msgstr "" |
| 769 |
"La file de messages a été supprimée alors que le processus attendait un " |
| 770 |
"message." |
| 771 |
|
| 772 |
#. type: Plain text |
| 773 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 774 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 775 |
msgid "" |
| 776 |
"While the process was sleeping to receive a message, the process caught a " |
| 777 |
"signal; see B<signal>(7)." |
| 778 |
msgstr "" |
| 779 |
"Un signal est arrivé avant d'avoir pu lire quoi que ce soit ; consultez " |
| 780 |
"B<signal>(7)." |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 784 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 785 |
msgid "I<msqid> was invalid, or I<msgsz> was less than 0." |
| 786 |
msgstr "I<msgqid> n'était pas valable ou I<msgsz> valait moins de B<0>." |
| 787 |
|
| 788 |
#. type: TP |
| 789 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 790 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 791 |
#, no-wrap |
| 792 |
msgid "B<EINVAL> (since Linux 3.14)" |
| 793 |
msgstr "B<EINVAL> (depuis Linux 3.14)" |
| 794 |
|
| 795 |
#. type: Plain text |
| 796 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 797 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 798 |
msgid "I<msgflg> specified B<MSG_COPY>, but not B<IPC_NOWAIT>." |
| 799 |
msgstr "I<msgflg> définit B<MSG_COPY> sans définir B<IPC_NOWAIT>." |
| 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 "I<msgflg> specified both B<MSG_COPY> and B<MSG_EXCEPT>." |
| 805 |
msgstr "I<msgflg> définit à la fois B<MSG_COPY> et B<MSG_EXCEPT>." |
| 806 |
|
| 807 |
#. type: TP |
| 808 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 809 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 810 |
#, no-wrap |
| 811 |
msgid "B<ENOMSG>" |
| 812 |
msgstr "B<ENOMSG>" |
| 813 |
|
| 814 |
#. type: Plain text |
| 815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 817 |
msgid "" |
| 818 |
"B<IPC_NOWAIT> was specified in I<msgflg> and no message of the requested " |
| 819 |
"type existed on the message queue." |
| 820 |
msgstr "" |
| 821 |
"B<IPC_NOWAIT> a été indiqué dans I<msgflg> et aucun message du type réclamé " |
| 822 |
"n'existe dans la file." |
| 823 |
|
| 824 |
#. type: Plain text |
| 825 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 826 |
#: opensuse-tumbleweed |
| 827 |
#, fuzzy |
| 828 |
#| msgid "" |
| 829 |
#| "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue " |
| 830 |
#| "contains less than I<msgtyp> messages." |
| 831 |
msgid "" |
| 832 |
"B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue " |
| 833 |
"contains fewer than I<msgtyp> messages." |
| 834 |
msgstr "" |
| 835 |
"B<IPC_NOWAIT> et B<MSG_COPY> ont été indiqués dans I<msgflg> et la file " |
| 836 |
"contient moins de I<msgtyp> messages." |
| 837 |
|
| 838 |
#. type: TP |
| 839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 840 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 841 |
#, no-wrap |
| 842 |
msgid "B<ENOSYS> (since Linux 3.8)" |
| 843 |
msgstr "B<ENOSYS> (depuis Linux 3.8)" |
| 844 |
|
| 845 |
#. type: Plain text |
| 846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 848 |
msgid "" |
| 849 |
"Both B<MSG_COPY> and B<IPC_NOWAIT> were specified in I<msgflg>, and this " |
| 850 |
"kernel was configured without B<CONFIG_CHECKPOINT_RESTORE>." |
| 851 |
msgstr "" |
| 852 |
"B<MSG_COPY> et B<IPC_NOWAIT> ont été indiqués dans I<msgflg> et le noyau a " |
| 853 |
"été configuré sans B<CONFIG_CHECKPOINT_RESTORE>." |
| 854 |
|
| 855 |
#. type: SH |
| 856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 858 |
#, no-wrap |
| 859 |
msgid "STANDARDS" |
| 860 |
msgstr "NORMES" |
| 861 |
|
| 862 |
#. type: Plain text |
| 863 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 864 |
#: opensuse-tumbleweed |
| 865 |
msgid "POSIX.1-2024 XSI." |
| 866 |
msgstr "POSIX.1-2024 XSI." |
| 867 |
|
| 868 |
#. MSG_COPY since glibc 2.18 |
| 869 |
#. type: Plain text |
| 870 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 871 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 872 |
msgid "" |
| 873 |
"The B<MSG_EXCEPT> and B<MSG_COPY> flags are Linux-specific; their " |
| 874 |
"definitions can be obtained by defining the B<_GNU_SOURCE> feature test " |
| 875 |
"macro." |
| 876 |
msgstr "" |
| 877 |
"Les attributs B<MSG_EXCEPT> et B<MSG_COPY> sont spécifiques à Linux. Leur " |
| 878 |
"définition peut être obtenue en définissant la macro de test de " |
| 879 |
"fonctionnalités B<_GNU_SOURCE>." |
| 880 |
|
| 881 |
#. type: SH |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
#, no-wrap |
| 885 |
msgid "HISTORY" |
| 886 |
msgstr "HISTORIQUE" |
| 887 |
|
| 888 |
#. type: Plain text |
| 889 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 890 |
#: opensuse-tumbleweed |
| 891 |
msgid "SVr4, SUSv1, POSIX.1-2001 XSI." |
| 892 |
msgstr "SVr4, SUSv1, POSIX.1-2001 XSI." |
| 893 |
|
| 894 |
#. type: Plain text |
| 895 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 896 |
#: opensuse-tumbleweed |
| 897 |
#, fuzzy |
| 898 |
#| msgid "" |
| 899 |
#| "The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and " |
| 900 |
#| "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required " |
| 901 |
#| "by SUSv2 and SUSv3." |
| 902 |
msgid "" |
| 903 |
"The I<msgp> argument is declared as I<struct\\ msgbuf\\ *> in glibc 2.0 and " |
| 904 |
"2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by " |
| 905 |
"SUSv2 and SUSv3." |
| 906 |
msgstr "" |
| 907 |
"L'argument I<msgp> est déclaré comme un I<struct msgbuf *> avec les " |
| 908 |
"bibliothèques glibc 2.0 et glibc 2.1. Il est déclaré comme un I<void *> avec " |
| 909 |
"la bibliothèque glibc 2.2, suivant ainsi les spécifications SUSv2 et SUSv3." |
| 910 |
|
| 911 |
#. type: SH |
| 912 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 913 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 914 |
#, no-wrap |
| 915 |
msgid "NOTES" |
| 916 |
msgstr "NOTES" |
| 917 |
|
| 918 |
#. type: Plain text |
| 919 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 920 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 921 |
msgid "" |
| 922 |
"The following limits on message queue resources affect the B<msgsnd>() call:" |
| 923 |
msgstr "" |
| 924 |
"Les limites suivantes concernent les files de messages et affectent l’appel " |
| 925 |
"B<msgsnd>()." |
| 926 |
|
| 927 |
#. type: TP |
| 928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 930 |
#, no-wrap |
| 931 |
msgid "B<MSGMAX>" |
| 932 |
msgstr "B<MSGMAX>" |
| 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 |
msgid "" |
| 938 |
"Maximum size of a message text, in bytes (default value: 8192 bytes). On " |
| 939 |
"Linux, this limit can be read and modified via I</proc/sys/kernel/msgmax>." |
| 940 |
msgstr "" |
| 941 |
"Taille maximale d'un message texte, en octets (valeur par défaut\\ : 8192 " |
| 942 |
"octets). Sous Linux, cette limite peut être lue et modifiée grâce au fichier " |
| 943 |
"I</proc/sys/kernel/msgmax>)." |
| 944 |
|
| 945 |
#. type: TP |
| 946 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 947 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 948 |
#, no-wrap |
| 949 |
msgid "B<MSGMNB>" |
| 950 |
msgstr "B<MSGMNB>" |
| 951 |
|
| 952 |
#. type: Plain text |
| 953 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 954 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 955 |
msgid "" |
| 956 |
"Maximum number of bytes that can be held in a message queue (default value: " |
| 957 |
"16384 bytes). On Linux, this limit can be read and modified via I</proc/sys/" |
| 958 |
"kernel/msgmnb>. A privileged process (Linux: a process with the " |
| 959 |
"B<CAP_SYS_RESOURCE> capability) can increase the size of a message queue " |
| 960 |
"beyond B<MSGMNB> using the B<msgctl>(2) B<IPC_SET> operation." |
| 961 |
msgstr "" |
| 962 |
"Nombre maximal d'octets d'une file de messages (valeur par défaut\\ : 16384 " |
| 963 |
"octets. Sous Linux, elle peut être lue et modifiée grâce au fichier I</proc/" |
| 964 |
"sys/kernel/msgmnb>). Un processus privilégié (sous Linux : avec la capacité " |
| 965 |
"B<CAP_SYS_RESOURCE>) peut augmenter la taille d'une file de messages au-delà " |
| 966 |
"de B<MSGMNB> en utilisant l’opération B<IPC_SET> de B<msgctl>(2)." |
| 967 |
|
| 968 |
#. type: Plain text |
| 969 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 970 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 971 |
msgid "" |
| 972 |
"The implementation has no intrinsic system-wide limits on the number of " |
| 973 |
"message headers (B<MSGTQL>) and the number of bytes in the message pool " |
| 974 |
"(B<MSGPOOL>)." |
| 975 |
msgstr "" |
| 976 |
"L'implémentation des files de messages sous Linux n'a pas de limites système " |
| 977 |
"intrinsèques ni pour le nombre d'en\\(hytêtes de messages (B<MSGTQL>) ni " |
| 978 |
"pour la taille, en octets, de l'ensemble de tous les messages (B<MSGPOOL>)." |
| 979 |
|
| 980 |
#. type: SH |
| 981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 983 |
#, no-wrap |
| 984 |
msgid "BUGS" |
| 985 |
msgstr "BOGUES" |
| 986 |
|
| 987 |
#. http://marc.info/?l=linux-kernel&m=139048542803605&w=2 |
| 988 |
#. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c |
| 989 |
#. type: Plain text |
| 990 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 991 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 992 |
msgid "" |
| 993 |
"In Linux 3.13 and earlier, if B<msgrcv>() was called with the B<MSG_COPY> " |
| 994 |
"flag, but without B<IPC_NOWAIT>, and the message queue contained less than " |
| 995 |
"I<msgtyp> messages, then the call would block until the next message is " |
| 996 |
"written to the queue. At that point, the call would return a copy of the " |
| 997 |
"message, I<regardless> of whether that message was at the ordinal position " |
| 998 |
"I<msgtyp>. This bug is fixed in Linux 3.14." |
| 999 |
msgstr "" |
| 1000 |
"Jusqu'à la version Linux 3.13, si B<msgrcv>() était appelé avec l’attribut " |
| 1001 |
"B<MSG_COPY>, mais sans B<IPC_NOWAIT>, et que la file de messages contenait " |
| 1002 |
"moins de B<msgtyp> messages, alors l’appel bloquait jusqu’à ce que le " |
| 1003 |
"message suivant soit écrit dans la file. À ce moment là, l’appel renvoyait " |
| 1004 |
"une copie du message, I<quelle que soit> la position ordinale I<msgtyp> de " |
| 1005 |
"ce message. Ce bogue est corrigé depuis Linux 3.14." |
| 1006 |
|
| 1007 |
#. http://marc.info/?l=linux-kernel&m=139048542803605&w=2 |
| 1008 |
#. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c |
| 1009 |
#. type: Plain text |
| 1010 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1011 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1012 |
msgid "" |
| 1013 |
"Specifying both B<MSG_COPY> and B<MSC_EXCEPT> in I<msgflg> is a logical " |
| 1014 |
"error (since these flags impose different interpretations on I<msgtyp>). In " |
| 1015 |
"Linux 3.13 and earlier, this error was not diagnosed by B<msgrcv>(). This " |
| 1016 |
"bug is fixed in Linux 3.14." |
| 1017 |
msgstr "" |
| 1018 |
"Indiquer à la fois B<MSG_COPY> et B<MSC_EXCEPT> dans I<msgflg> est une " |
| 1019 |
"erreur de logique (puisque ces attributs imposent des interprétations " |
| 1020 |
"différentes de I<msgtyp>). Jusqu'à Linux 3.13, cette erreur n’était pas " |
| 1021 |
"diagnostiquée par I<msgsrv>(). Ce bogue est corrigé depuis Linux 3.14." |
| 1022 |
|
| 1023 |
#. type: SH |
| 1024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1026 |
#, no-wrap |
| 1027 |
msgid "EXAMPLES" |
| 1028 |
msgstr "EXEMPLES" |
| 1029 |
|
| 1030 |
#. type: Plain text |
| 1031 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1032 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1033 |
msgid "The program below demonstrates the use of B<msgsnd>() and B<msgrcv>()." |
| 1034 |
msgstr "" |
| 1035 |
"Le programme ci-dessous montre l'utilisation de B<msgsnd>() et de " |
| 1036 |
"B<msgrcv>()." |
| 1037 |
|
| 1038 |
#. type: Plain text |
| 1039 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1040 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1041 |
msgid "" |
| 1042 |
"The example program is first run with the B<-s> option to send a message and " |
| 1043 |
"then run again with the B<-r> option to receive a message." |
| 1044 |
msgstr "" |
| 1045 |
"Le programme d'exemple est d'abord exécuté avec l'option B<-s> pour envoyer " |
| 1046 |
"un message, puis réexécuté avec l'option B<-r> pour recevoir un message." |
| 1047 |
|
| 1048 |
#. type: Plain text |
| 1049 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1050 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1051 |
msgid "The following shell session shows a sample run of the program:" |
| 1052 |
msgstr "" |
| 1053 |
"La session d'interpréteur suivant montre un échantillon d'exécution du " |
| 1054 |
"programme :" |
| 1055 |
|
| 1056 |
#. type: Plain text |
| 1057 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1058 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1059 |
#, no-wrap |
| 1060 |
msgid "" |
| 1061 |
"$B< ./a.out -s>\n" |
| 1062 |
"sent: a message at Wed Mar 4 16:25:45 2015\n" |
| 1063 |
msgstr "" |
| 1064 |
"$B< ./a.out -s>\n" |
| 1065 |
"envoi : un message le mercredi 4 mars 2015 à 16:25:45\n" |
| 1066 |
|
| 1067 |
#. type: Plain text |
| 1068 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1069 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1070 |
#, no-wrap |
| 1071 |
msgid "" |
| 1072 |
"$B< ./a.out -r>\n" |
| 1073 |
"message received: a message at Wed Mar 4 16:25:45 2015\n" |
| 1074 |
msgstr "" |
| 1075 |
"$B< ./a.out -r>\n" |
| 1076 |
"message reçu : un message le mercredi 4 mars 2015 à 16:25:45\n" |
| 1077 |
|
| 1078 |
#. type: SS |
| 1079 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1080 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1081 |
#, no-wrap |
| 1082 |
msgid "Program source" |
| 1083 |
msgstr "Source du programme" |
| 1084 |
|
| 1085 |
#. type: Plain text |
| 1086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1088 |
#, no-wrap |
| 1089 |
msgid "" |
| 1090 |
"#include E<lt>errno.hE<gt>\n" |
| 1091 |
"#include E<lt>stdio.hE<gt>\n" |
| 1092 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1093 |
"#include E<lt>sys/ipc.hE<gt>\n" |
| 1094 |
"#include E<lt>sys/msg.hE<gt>\n" |
| 1095 |
"#include E<lt>time.hE<gt>\n" |
| 1096 |
"#include E<lt>unistd.hE<gt>\n" |
| 1097 |
"\\&\n" |
| 1098 |
"struct msgbuf {\n" |
| 1099 |
" long mtype;\n" |
| 1100 |
" char mtext[80];\n" |
| 1101 |
"};\n" |
| 1102 |
"\\&\n" |
| 1103 |
"static void\n" |
| 1104 |
"usage(char *prog_name, char *msg)\n" |
| 1105 |
"{\n" |
| 1106 |
" if (msg != NULL)\n" |
| 1107 |
" fputs(msg, stderr);\n" |
| 1108 |
"\\&\n" |
| 1109 |
" fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n" |
| 1110 |
" fprintf(stderr, \"Options are:\\[rs]n\");\n" |
| 1111 |
" fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n" |
| 1112 |
" fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n" |
| 1113 |
" fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n" |
| 1114 |
" fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n" |
| 1115 |
" exit(EXIT_FAILURE);\n" |
| 1116 |
"}\n" |
| 1117 |
"\\&\n" |
| 1118 |
"static void\n" |
| 1119 |
"send_msg(int qid, int msgtype)\n" |
| 1120 |
"{\n" |
| 1121 |
" time_t t;\n" |
| 1122 |
" struct msgbuf msg;\n" |
| 1123 |
"\\&\n" |
| 1124 |
" msg.mtype = msgtype;\n" |
| 1125 |
"\\&\n" |
| 1126 |
" time(&t);\n" |
| 1127 |
" snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n" |
| 1128 |
" ctime(&t));\n" |
| 1129 |
"\\&\n" |
| 1130 |
" if (msgsnd(qid, &msg, sizeof(msg.mtext),\n" |
| 1131 |
" IPC_NOWAIT) == -1)\n" |
| 1132 |
" {\n" |
| 1133 |
" perror(\"msgsnd error\");\n" |
| 1134 |
" exit(EXIT_FAILURE);\n" |
| 1135 |
" }\n" |
| 1136 |
" printf(\"sent: %s\\[rs]n\", msg.mtext);\n" |
| 1137 |
"}\n" |
| 1138 |
"\\&\n" |
| 1139 |
"static void\n" |
| 1140 |
"get_msg(int qid, int msgtype)\n" |
| 1141 |
"{\n" |
| 1142 |
" struct msgbuf msg;\n" |
| 1143 |
"\\&\n" |
| 1144 |
" if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n" |
| 1145 |
" MSG_NOERROR | IPC_NOWAIT) == -1) {\n" |
| 1146 |
" if (errno != ENOMSG) {\n" |
| 1147 |
" perror(\"msgrcv\");\n" |
| 1148 |
" exit(EXIT_FAILURE);\n" |
| 1149 |
" }\n" |
| 1150 |
" printf(\"No message available for msgrcv()\\[rs]n\");\n" |
| 1151 |
" } else {\n" |
| 1152 |
" printf(\"message received: %s\\[rs]n\", msg.mtext);\n" |
| 1153 |
" }\n" |
| 1154 |
"}\n" |
| 1155 |
"\\&\n" |
| 1156 |
"int\n" |
| 1157 |
"main(int argc, char *argv[])\n" |
| 1158 |
"{\n" |
| 1159 |
" int qid, opt;\n" |
| 1160 |
" int mode = 0; /* 1 = send, 2 = receive */\n" |
| 1161 |
" int msgtype = 1;\n" |
| 1162 |
" int msgkey = 1234;\n" |
| 1163 |
"\\&\n" |
| 1164 |
" while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n" |
| 1165 |
" switch (opt) {\n" |
| 1166 |
" case \\[aq]s\\[aq]:\n" |
| 1167 |
" mode = 1;\n" |
| 1168 |
" break;\n" |
| 1169 |
" case \\[aq]r\\[aq]:\n" |
| 1170 |
" mode = 2;\n" |
| 1171 |
" break;\n" |
| 1172 |
" case \\[aq]t\\[aq]:\n" |
| 1173 |
" msgtype = atoi(optarg);\n" |
| 1174 |
" if (msgtype E<lt>= 0)\n" |
| 1175 |
" usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n" |
| 1176 |
" break;\n" |
| 1177 |
" case \\[aq]k\\[aq]:\n" |
| 1178 |
" msgkey = atoi(optarg);\n" |
| 1179 |
" break;\n" |
| 1180 |
" default:\n" |
| 1181 |
" usage(argv[0], \"Unrecognized option\\[rs]n\");\n" |
| 1182 |
" }\n" |
| 1183 |
" }\n" |
| 1184 |
"\\&\n" |
| 1185 |
" if (mode == 0)\n" |
| 1186 |
" usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n" |
| 1187 |
"\\&\n" |
| 1188 |
" qid = msgget(msgkey, IPC_CREAT | 0666);\n" |
| 1189 |
"\\&\n" |
| 1190 |
" if (qid == -1) {\n" |
| 1191 |
" perror(\"msgget\");\n" |
| 1192 |
" exit(EXIT_FAILURE);\n" |
| 1193 |
" }\n" |
| 1194 |
"\\&\n" |
| 1195 |
" if (mode == 2)\n" |
| 1196 |
" get_msg(qid, msgtype);\n" |
| 1197 |
" else\n" |
| 1198 |
" send_msg(qid, msgtype);\n" |
| 1199 |
"\\&\n" |
| 1200 |
" exit(EXIT_SUCCESS);\n" |
| 1201 |
"}\n" |
| 1202 |
msgstr "" |
| 1203 |
"#include E<lt>errno.hE<gt>\n" |
| 1204 |
"#include E<lt>stdio.hE<gt>\n" |
| 1205 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1206 |
"#include E<lt>sys/ipc.hE<gt>\n" |
| 1207 |
"#include E<lt>sys/msg.hE<gt>\n" |
| 1208 |
"#include E<lt>time.hE<gt>\n" |
| 1209 |
"#include E<lt>unistd.hE<gt>\n" |
| 1210 |
"\\&\n" |
| 1211 |
"struct msgbuf {\n" |
| 1212 |
" long mtype;\n" |
| 1213 |
" char mtext[80];\n" |
| 1214 |
"};\n" |
| 1215 |
"\\&\n" |
| 1216 |
"static void\n" |
| 1217 |
"usage(char *prog_name, char *msg)\n" |
| 1218 |
"{\n" |
| 1219 |
" if (msg != NULL)\n" |
| 1220 |
" fputs(msg, stderr);\n" |
| 1221 |
"\\&\n" |
| 1222 |
" fprintf(stderr, \"Utilisation : %s [options]\\[rs]n\", prog_name);\n" |
| 1223 |
" fprintf(stderr, \"Les options sont :\\[rs]n\");\n" |
| 1224 |
" fprintf(stderr, \"-s envoyer un message en utilisant msgsnd()\\[rs]n\");\n" |
| 1225 |
" fprintf(stderr, \"-r lire un message en utilisant msgrcv()\\[rs]n\");\n" |
| 1226 |
" fprintf(stderr, \"-t type de message (1 par défaut)\\[rs]n\");\n" |
| 1227 |
" fprintf(stderr, \"-k clé de mise en attente du message (1234 par défaut)\\[rs]n\");\n" |
| 1228 |
" exit(EXIT_FAILURE);\n" |
| 1229 |
"}\n" |
| 1230 |
"\\&\n" |
| 1231 |
"static void\n" |
| 1232 |
"send_msg(int qid, int msgtype)\n" |
| 1233 |
"{\n" |
| 1234 |
" time_t t;\\n\"\n" |
| 1235 |
" struct msgbuf msg;\n" |
| 1236 |
"\\&\n" |
| 1237 |
" msg.mtype = msgtype;\n" |
| 1238 |
"\\&\n" |
| 1239 |
" time(&t);\n" |
| 1240 |
" snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n" |
| 1241 |
" ctime(&t));\n" |
| 1242 |
"\\&\n" |
| 1243 |
" if (msgsnd(qid, &msg, sizeof(msg.mtext),\n" |
| 1244 |
" IPC_NOWAIT) == -1)\n" |
| 1245 |
" {\n" |
| 1246 |
" perror(\"msgsnd error\");\n" |
| 1247 |
" exit(EXIT_FAILURE);\n" |
| 1248 |
" }\n" |
| 1249 |
" printf(\"envoyé : %s\\[rs]n\", msg.mtext);\n" |
| 1250 |
"}\n" |
| 1251 |
"\\&\n" |
| 1252 |
"static void\n" |
| 1253 |
"get_msg(int qid, int msgtype)\n" |
| 1254 |
"{\n" |
| 1255 |
" struct msgbuf msg;\n" |
| 1256 |
"\\&\n" |
| 1257 |
" if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n" |
| 1258 |
" MSG_NOERROR | IPC_NOWAIT) == -1) {\n" |
| 1259 |
" if (errno != ENOMSG) {\n" |
| 1260 |
" perror(\\\"msgrcv\\\");\n" |
| 1261 |
" exit(EXIT_FAILURE);\n" |
| 1262 |
" }\n" |
| 1263 |
" printf(\"Aucun message disponible pour msgrcv()\\[rs]n\");\n" |
| 1264 |
" } else {\n" |
| 1265 |
" printf(\"message reçu : %s\\[rs]n\", msg.mtext);\n" |
| 1266 |
" }\n" |
| 1267 |
"}\n" |
| 1268 |
"\\&\n" |
| 1269 |
"int\n" |
| 1270 |
"main(int argc, char *argv[])\n" |
| 1271 |
"{\n" |
| 1272 |
" int qid, opt;\n" |
| 1273 |
" int mode = 0; /* 1 = send, 2 = receive */\\n\"\n" |
| 1274 |
" int msgtype = 1;\n" |
| 1275 |
" int msgkey = 1234;\n" |
| 1276 |
"\\&\n" |
| 1277 |
" while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n" |
| 1278 |
" switch (opt) {\n" |
| 1279 |
" case \\[aq]s\\[aq]:\n" |
| 1280 |
" mode = 1;\n" |
| 1281 |
" break;\n" |
| 1282 |
" case \\[aq]r\\[aq]:\n" |
| 1283 |
" mode = 2;\n" |
| 1284 |
" break;\n" |
| 1285 |
" case \\[aq]t\\[aq]:\n" |
| 1286 |
" msgtype = atoi(optarg);\n" |
| 1287 |
" if (msgtype E<lt>= 0)\n" |
| 1288 |
" usage(argv[0], \\\"-t option doit être supérieur à 0\\[rs]n\");\n" |
| 1289 |
" break;\n" |
| 1290 |
" case \\[aq]k\\[aq]:\n" |
| 1291 |
" msgkey = atoi(optarg);\n" |
| 1292 |
" break;\n" |
| 1293 |
" default:\n" |
| 1294 |
" usage(argv[0], \"Option non reconnue\\[rs]n\");\n" |
| 1295 |
" }\n" |
| 1296 |
" }\n" |
| 1297 |
"\\&\n" |
| 1298 |
" if (mode == 0)\n" |
| 1299 |
" usage(argv[0], \"doit être l'option -s ou -r\\[rs]n\");\n" |
| 1300 |
"\\&\n" |
| 1301 |
" qid = msgget(msgkey, IPC_CREAT | 0666);\n" |
| 1302 |
"\\&\n" |
| 1303 |
" if (qid == -1) {\n" |
| 1304 |
" perror(\"msgget\");\n" |
| 1305 |
" exit(EXIT_FAILURE);\n" |
| 1306 |
" }\n" |
| 1307 |
"\\&\n" |
| 1308 |
" if (mode == 2)\n" |
| 1309 |
" get_msg(qid, msgtype);\n" |
| 1310 |
" else\n" |
| 1311 |
" send_msg(qid, msgtype);\n" |
| 1312 |
"\\&\n" |
| 1313 |
" exit(EXIT_SUCCESS);\n" |
| 1314 |
"}\n" |
| 1315 |
|
| 1316 |
#. SRC END |
| 1317 |
#. type: SH |
| 1318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1320 |
#, no-wrap |
| 1321 |
msgid "SEE ALSO" |
| 1322 |
msgstr "VOIR AUSSI" |
| 1323 |
|
| 1324 |
#. type: Plain text |
| 1325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1327 |
msgid "" |
| 1328 |
"B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), " |
| 1329 |
"B<sysvipc>(7)" |
| 1330 |
msgstr "" |
| 1331 |
"B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), " |
| 1332 |
"B<sysvipc>(7)" |
| 1333 |
|
| 1334 |
#. type: TH |
| 1335 |
#: debian-trixie |
| 1336 |
#, no-wrap |
| 1337 |
msgid "2024-06-15" |
| 1338 |
msgstr "15 juin 2024" |
| 1339 |
|
| 1340 |
#. type: TH |
| 1341 |
#: debian-trixie |
| 1342 |
#, no-wrap |
| 1343 |
msgid "Linux man-pages 6.9.1" |
| 1344 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 1345 |
|
| 1346 |
#. type: Plain text |
| 1347 |
#: debian-trixie |
| 1348 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1349 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 1350 |
|
| 1351 |
#. type: Plain text |
| 1352 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1353 |
#, no-wrap |
| 1354 |
msgid "" |
| 1355 |
"B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n" |
| 1356 |
"B< int >I<msgflg>B<);>\n" |
| 1357 |
msgstr "" |
| 1358 |
"B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n" |
| 1359 |
"B< int >I<msgflg>B<);>\n" |
| 1360 |
|
| 1361 |
#. type: Plain text |
| 1362 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1363 |
#, no-wrap |
| 1364 |
msgid "" |
| 1365 |
"B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n" |
| 1366 |
"B< int >I<msgflg>B<);>\n" |
| 1367 |
msgstr "" |
| 1368 |
"B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n" |
| 1369 |
"B< int >I<msgflg>B<);>\n" |
| 1370 |
|
| 1371 |
# NOTE: Formatting: B<see> |
| 1372 |
#. type: Plain text |
| 1373 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1374 |
msgid "" |
| 1375 |
"a signal is caught, in which case the system call fails with I<errno> set to " |
| 1376 |
"B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically " |
| 1377 |
"restarted after being interrupted by a signal handler, regardless of the " |
| 1378 |
"setting of the B<SA_RESTART> flag when establishing a signal handler.)" |
| 1379 |
msgstr "" |
| 1380 |
"un signal a été intercepté, auquel cas l'appel système échoue avec I<errno> " |
| 1381 |
"valant B<EINTR> ; consultez B<signal>(7). (B<msgsnd>() n'est jamais relancé " |
| 1382 |
"automatiquement après interruption par un gestionnaire de signal, quelle que " |
| 1383 |
"soit la configuration de B<SA_RESTART> lors de l'installation du " |
| 1384 |
"gestionnaire.)" |
| 1385 |
|
| 1386 |
#. type: Plain text |
| 1387 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1388 |
msgid "" |
| 1389 |
"B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue " |
| 1390 |
"contains less than I<msgtyp> messages." |
| 1391 |
msgstr "" |
| 1392 |
"B<IPC_NOWAIT> et B<MSG_COPY> ont été indiqués dans I<msgflg> et la file " |
| 1393 |
"contient moins de I<msgtyp> messages." |
| 1394 |
|
| 1395 |
#. type: Plain text |
| 1396 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1397 |
msgid "POSIX.1-2008." |
| 1398 |
msgstr "POSIX.1-2008." |
| 1399 |
|
| 1400 |
#. type: Plain text |
| 1401 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1402 |
msgid "POSIX.1-2001, SVr4." |
| 1403 |
msgstr "POSIX.1-2001, SVr4." |
| 1404 |
|
| 1405 |
#. type: Plain text |
| 1406 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1407 |
msgid "" |
| 1408 |
"The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and " |
| 1409 |
"2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by " |
| 1410 |
"SUSv2 and SUSv3." |
| 1411 |
msgstr "" |
| 1412 |
"L'argument I<msgp> est déclaré comme un I<struct msgbuf *> avec les " |
| 1413 |
"bibliothèques glibc 2.0 et glibc 2.1. Il est déclaré comme un I<void *> avec " |
| 1414 |
"la bibliothèque glibc 2.2, suivant ainsi les spécifications SUSv2 et SUSv3." |
| 1415 |
|
| 1416 |
#. type: TH |
| 1417 |
#: fedora-44 fedora-rawhide |
| 1418 |
#, no-wrap |
| 1419 |
msgid "2024-07-23" |
| 1420 |
msgstr "23 juillet 2024" |
| 1421 |
|
| 1422 |
#. type: TH |
| 1423 |
#: fedora-44 fedora-rawhide |
| 1424 |
#, no-wrap |
| 1425 |
msgid "Linux man-pages 6.13" |
| 1426 |
msgstr "Pages du manuel de Linux 6.13" |
| 1427 |
|
| 1428 |
#. type: TH |
| 1429 |
#: mageia-cauldron |
| 1430 |
#, no-wrap |
| 1431 |
msgid "Linux man-pages 6.17" |
| 1432 |
msgstr "Pages du manuel de Linux 6.17" |
| 1433 |
|
| 1434 |
#. type: TH |
| 1435 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1436 |
#, no-wrap |
| 1437 |
msgid "Linux man-pages (unreleased)" |
| 1438 |
msgstr "Pages du manuel de Linux (non publiées)" |