| 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, 2013. |
| 16 |
# Denis Barbier <[email protected]>, 2006,2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2013, 2014. |
| 18 |
# Cédric Boutillier <[email protected]>, 2011, 2012, 2013. |
| 19 |
# Frédéric Hantrais <[email protected]>, 2013, 2014. |
| 20 |
# Jean-Philippe MENGUAL <[email protected]>, 2021-2024. |
| 21 |
msgid "" |
| 22 |
msgstr "" |
| 23 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 24 |
"POT-Creation-Date: 2026-06-05 06:42+0200\n" |
| 25 |
"PO-Revision-Date: 2024-03-03 11:27+0100\n" |
| 26 |
"Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n" |
| 27 |
"Language-Team: French <[email protected]>\n" |
| 28 |
"Language: fr\n" |
| 29 |
"MIME-Version: 1.0\n" |
| 30 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 31 |
"Content-Transfer-Encoding: 8bit\n" |
| 32 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 33 |
"X-Generator: Lokalize 22.12.3\n" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 37 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 38 |
#, no-wrap |
| 39 |
msgid "sendmmsg" |
| 40 |
msgstr "sendmmsg" |
| 41 |
|
| 42 |
#. type: TH |
| 43 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 44 |
#: opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "2026-02-08" |
| 47 |
msgstr "8 février 2026" |
| 48 |
|
| 49 |
#. type: TH |
| 50 |
#: archlinux debian-unstable |
| 51 |
#, no-wrap |
| 52 |
msgid "Linux man-pages 6.18" |
| 53 |
msgstr "Pages du manuel de Linux 6.18" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "NAME" |
| 60 |
msgstr "NOM" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "sendmmsg - send multiple messages on a socket" |
| 66 |
msgstr "sendmmsg - Envoyer plusieurs messages sur un socket" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "LIBRARY" |
| 73 |
msgstr "BIBLIOTHÈQUE" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 77 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 79 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 80 |
|
| 81 |
#. type: SH |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "SYNOPSIS" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "" |
| 93 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 94 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 95 |
msgstr "" |
| 96 |
"B<#define _GNU_SOURCE> /* Consultez feature_test_macros(7) */\n" |
| 97 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 101 |
#: opensuse-tumbleweed |
| 102 |
#, fuzzy, no-wrap |
| 103 |
#| msgid "" |
| 104 |
#| "B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 105 |
#| "B< int >I<flags>B<);>\n" |
| 106 |
msgid "" |
| 107 |
"B<int sendmmsg(>unsigned int n;\n" |
| 108 |
"B< int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[>I<n>B<], unsigned int >I<n>B<,>\n" |
| 109 |
"B< int >I<flags>B<);>\n" |
| 110 |
msgstr "" |
| 111 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 112 |
"B< int >I<flags>B<);>\n" |
| 113 |
|
| 114 |
#. type: SH |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, no-wrap |
| 118 |
msgid "DESCRIPTION" |
| 119 |
msgstr "DESCRIPTION" |
| 120 |
|
| 121 |
#. See commit 228e548e602061b08ee8e8966f567c12aa079682 |
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "" |
| 126 |
"The B<sendmmsg>() system call is an extension of B<sendmsg>(2) that allows " |
| 127 |
"the caller to transmit multiple messages on a socket using a single system " |
| 128 |
"call. (This has performance benefits for some applications.)" |
| 129 |
msgstr "" |
| 130 |
"L'appel système B<sendmmsg>() est une extension de B<sendmsg>(2) qui permet " |
| 131 |
"à l'appelant de transmettre plusieurs messages sur un socket en utilisant un " |
| 132 |
"seul appel système. (Cela améliore les performances pour certaines " |
| 133 |
"applications.)" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"The I<sockfd> argument is the file descriptor of the socket on which data is " |
| 140 |
"to be transmitted." |
| 141 |
msgstr "" |
| 142 |
"Le paramètre I<sockfd> est le descripteur de fichier du socket destinataire." |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 146 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 149 |
"The size of this array is specified in I<n>." |
| 150 |
msgstr "" |
| 151 |
"L'argument I<msgvec> est un pointeur vers un tableau de structures " |
| 152 |
"I<mmsghdr>. La taille de ce tableau est précisée dans I<n>." |
| 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 |
msgid "The I<mmsghdr> structure is defined in I<E<lt>sys/socket.hE<gt>> as:" |
| 158 |
msgstr "" |
| 159 |
"La structure I<mmsghdr> est définie dans I<E<lt>sys/socket.hE<gt>> comme " |
| 160 |
"ceci\\ :" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
#, no-wrap |
| 166 |
msgid "" |
| 167 |
"struct mmsghdr {\n" |
| 168 |
" struct msghdr msg_hdr; /* Message header */\n" |
| 169 |
" unsigned int msg_len; /* Number of bytes transmitted */\n" |
| 170 |
"};\n" |
| 171 |
msgstr "" |
| 172 |
"struct mmsghdr {\n" |
| 173 |
" struct msghdr msg_hdr; /* En-tête du message */\n" |
| 174 |
" unsigned int msg_len; /* Nombre d'octets transmis */\n" |
| 175 |
"};\n" |
| 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 "" |
| 181 |
"The I<msg_hdr> field is a I<msghdr> structure, as described in " |
| 182 |
"B<sendmsg>(2). The I<msg_len> field is used to return the number of bytes " |
| 183 |
"sent from the message in I<msg_hdr> (i.e., the same as the return value from " |
| 184 |
"a single B<sendmsg>(2) call)." |
| 185 |
msgstr "" |
| 186 |
"Le champ I<msg_hdr> est une structure I<msghdr>, conformément à " |
| 187 |
"B<sendmsg>(2). Le champ I<msg_len> est le nombre d'octets envoyés du message " |
| 188 |
"dans I<msg_hdr>. Ce champ a la même valeur que la valeur de retour de la " |
| 189 |
"simple commande B<sendmsg>(2)." |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
msgid "" |
| 195 |
"The I<flags> argument contains flags ORed together. The flags are the same " |
| 196 |
"as for B<sendmsg>(2)." |
| 197 |
msgstr "" |
| 198 |
"L'argument I<flags> contient le OU binaire de la collection des attributs. " |
| 199 |
"Les attributs sont ceux documentés pour B<sendmsg>(2)." |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 203 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "" |
| 205 |
"A blocking B<sendmmsg>() call blocks until I<n> messages have been sent. A " |
| 206 |
"nonblocking call sends as many messages as possible (up to the limit " |
| 207 |
"specified by I<n>) and returns immediately." |
| 208 |
msgstr "" |
| 209 |
"Un appel bloquant B<sendmmsg>() bloque jusqu'à ce que I<n> messages aient " |
| 210 |
"été envoyés. Un appel non bloquant envoie autant de messages que possible " |
| 211 |
"(jusqu'à la limite indiquée par I<n>) et renvoie immédiatement." |
| 212 |
|
| 213 |
#. type: Plain text |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
msgid "" |
| 217 |
"On return from B<sendmmsg>(), the I<msg_len> fields of successive elements " |
| 218 |
"of I<msgvec> are updated to contain the number of bytes transmitted from the " |
| 219 |
"corresponding I<msg_hdr>. The return value of the call indicates the number " |
| 220 |
"of elements of I<msgvec> that have been updated." |
| 221 |
msgstr "" |
| 222 |
"Au renvoi de B<sendmmsg>(), les champs I<msg_len> des éléments successifs de " |
| 223 |
"I<msgvec> sont mis à jour pour contenir le nombre d'octets transmis depuis " |
| 224 |
"le I<msg_hdr> correspondant. La valeur de renvoi de l'appel indique le " |
| 225 |
"nombre d'éléments de I<msgvec> mis à jour." |
| 226 |
|
| 227 |
#. type: SH |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "RETURN VALUE" |
| 232 |
msgstr "VALEUR RENVOYÉE" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 236 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"On success, B<sendmmsg>() returns the number of messages sent from " |
| 239 |
"I<msgvec>; if this is less than I<n>, the caller can retry with a further " |
| 240 |
"B<sendmmsg>() call to send the remaining messages." |
| 241 |
msgstr "" |
| 242 |
"En cas du succès, B<sendmmsg>() renvoie le nombre de messages envoyés depuis " |
| 243 |
"I<msgvec> ; si ce nombre est strictement inférieur à I<n>, l'appelant peut " |
| 244 |
"réessayer avec un nouvel appel B<sendmmsg>() pour envoyer les messages " |
| 245 |
"restants." |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 251 |
msgstr "" |
| 252 |
"En cas d'erreur, la valeur de retour est B<-1> et I<errno> est définie pour " |
| 253 |
"préciser l'erreur." |
| 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 "ERRORS" |
| 260 |
msgstr "ERREURS" |
| 261 |
|
| 262 |
# |
| 263 |
#. #-#-#-#-# archlinux: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 264 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 265 |
#. ...only return an error if no datagrams could be sent. |
| 266 |
#. If less than the requested number of messages were sent, the application |
| 267 |
#. must retry starting at the first failed one and if the problem is |
| 268 |
#. persistent the error will be returned. |
| 269 |
#. This matches the behavior of other syscalls like read/write - it |
| 270 |
#. is not an error if less than the requested number of elements are sent. |
| 271 |
#. type: Plain text |
| 272 |
#. #-#-#-#-# debian-trixie: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 273 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 274 |
#. ... only return an error if no datagrams could be sent. |
| 275 |
#. If less than the requested number of messages were sent, the application |
| 276 |
#. must retry starting at the first failed one and if the problem is |
| 277 |
#. persistent the error will be returned. |
| 278 |
#. This matches the behavior of other syscalls like read/write - it |
| 279 |
#. is not an error if less than the requested number of elements are sent. |
| 280 |
#. type: Plain text |
| 281 |
#. #-#-#-#-# debian-unstable: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 282 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 283 |
#. ...only return an error if no datagrams could be sent. |
| 284 |
#. If less than the requested number of messages were sent, the application |
| 285 |
#. must retry starting at the first failed one and if the problem is |
| 286 |
#. persistent the error will be returned. |
| 287 |
#. This matches the behavior of other syscalls like read/write - it |
| 288 |
#. is not an error if less than the requested number of elements are sent. |
| 289 |
#. type: Plain text |
| 290 |
#. #-#-#-#-# fedora-44: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 291 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 292 |
#. ... only return an error if no datagrams could be sent. |
| 293 |
#. If less than the requested number of messages were sent, the application |
| 294 |
#. must retry starting at the first failed one and if the problem is |
| 295 |
#. persistent the error will be returned. |
| 296 |
#. This matches the behavior of other syscalls like read/write - it |
| 297 |
#. is not an error if less than the requested number of elements are sent. |
| 298 |
#. type: Plain text |
| 299 |
#. #-#-#-#-# fedora-rawhide: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 300 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 301 |
#. ... only return an error if no datagrams could be sent. |
| 302 |
#. If less than the requested number of messages were sent, the application |
| 303 |
#. must retry starting at the first failed one and if the problem is |
| 304 |
#. persistent the error will be returned. |
| 305 |
#. This matches the behavior of other syscalls like read/write - it |
| 306 |
#. is not an error if less than the requested number of elements are sent. |
| 307 |
#. type: Plain text |
| 308 |
#. #-#-#-#-# mageia-cauldron: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 309 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 310 |
#. ...only return an error if no datagrams could be sent. |
| 311 |
#. If less than the requested number of messages were sent, the application |
| 312 |
#. must retry starting at the first failed one and if the problem is |
| 313 |
#. persistent the error will be returned. |
| 314 |
#. This matches the behavior of other syscalls like read/write - it |
| 315 |
#. is not an error if less than the requested number of elements are sent. |
| 316 |
#. type: Plain text |
| 317 |
#. #-#-#-#-# opensuse-leap-16-1: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 318 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 319 |
#. ...only return an error if no datagrams could be sent. |
| 320 |
#. If less than the requested number of messages were sent, the application |
| 321 |
#. must retry starting at the first failed one and if the problem is |
| 322 |
#. persistent the error will be returned. |
| 323 |
#. This matches the behavior of other syscalls like read/write - it |
| 324 |
#. is not an error if less than the requested number of elements are sent. |
| 325 |
#. type: Plain text |
| 326 |
#. #-#-#-#-# opensuse-tumbleweed: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 327 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 328 |
#. ...only return an error if no datagrams could be sent. |
| 329 |
#. If less than the requested number of messages were sent, the application |
| 330 |
#. must retry starting at the first failed one and if the problem is |
| 331 |
#. persistent the error will be returned. |
| 332 |
#. This matches the behavior of other syscalls like read/write - it |
| 333 |
#. is not an error if less than the requested number of elements are sent. |
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"Errors are as for B<sendmsg>(2). An error is returned only if no datagrams " |
| 339 |
"could be sent. See also BUGS." |
| 340 |
msgstr "" |
| 341 |
"Les erreurs sont les mêmes que pour B<sendmsg>(2). Une erreur n'est renvoyée " |
| 342 |
"que si aucun datagramme n'a pu être envoyé. Voir aussi BOGUES." |
| 343 |
|
| 344 |
#. type: SH |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "STANDARDS" |
| 349 |
msgstr "NORMES" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
msgid "Linux." |
| 355 |
msgstr "Linux." |
| 356 |
|
| 357 |
#. type: SH |
| 358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
#, no-wrap |
| 361 |
msgid "HISTORY" |
| 362 |
msgstr "HISTORIQUE" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
msgid "Linux 3.0, glibc 2.14." |
| 368 |
msgstr "Linux 3.0, glibc 2.14." |
| 369 |
|
| 370 |
#. type: SH |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
#, no-wrap |
| 374 |
msgid "NOTES" |
| 375 |
msgstr "NOTES" |
| 376 |
|
| 377 |
# |
| 378 |
# |
| 379 |
#. commit 98382f419f32d2c12d021943b87dea555677144b |
| 380 |
#. net: Cap number of elements for sendmmsg |
| 381 |
#. To limit the amount of time we can spend in sendmmsg, cap the |
| 382 |
#. number of elements to UIO_MAXIOV (currently 1024). |
| 383 |
#. For error handling an application using sendmmsg needs to retry at |
| 384 |
#. the first unsent message, so capping is simpler and requires less |
| 385 |
#. application logic than returning EINVAL. |
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 388 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
msgid "The value specified in I<n> is capped to B<UIO_MAXIOV> (1024)." |
| 390 |
msgstr "" |
| 391 |
"La valeur indiquée dans I<n> ne peut pas dépasser B<UIO_MAXIOV> (1024)." |
| 392 |
|
| 393 |
#. type: SH |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "BUGS" |
| 398 |
msgstr "BOGUES" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "" |
| 404 |
"If an error occurs after at least one message has been sent, the call " |
| 405 |
"succeeds, and returns the number of messages sent. The error code is lost. " |
| 406 |
"The caller can retry the transmission, starting at the first failed message, " |
| 407 |
"but there is no guarantee that, if an error is returned, it will be the same " |
| 408 |
"as the one that was lost on the previous call." |
| 409 |
msgstr "" |
| 410 |
"Si une erreur se produit après qu'au moins un message a été envoyé, l'appel " |
| 411 |
"réussit et renvoie le nombre de messages envoyés. Le code d'erreur est " |
| 412 |
"perdu. L'appelant peut réessayer le transfert à partir du premier message " |
| 413 |
"échoué mais rien ne garantit que, si une erreur est renvoyée, il s'agira de " |
| 414 |
"la même que celle perdue lors du précédent appel." |
| 415 |
|
| 416 |
#. type: SH |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "EXAMPLES" |
| 421 |
msgstr "EXEMPLES" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
msgid "" |
| 427 |
"The example below uses B<sendmmsg>() to send I<onetwo> and I<three> in two " |
| 428 |
"distinct UDP datagrams using one system call. The contents of the first " |
| 429 |
"datagram originates from a pair of buffers." |
| 430 |
msgstr "" |
| 431 |
"L'exemple ci-dessous utilise B<sendmmsg>() pour envoyer I<undeux> et " |
| 432 |
"I<trois> dans deux datagrammes UDP distincts en utilisant un seul appel " |
| 433 |
"système. Les contenus des premiers datagrammes proviennent d'une paire de " |
| 434 |
"tampons." |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "" |
| 441 |
"#define _GNU_SOURCE\n" |
| 442 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 443 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 444 |
"#include E<lt>stdio.hE<gt>\n" |
| 445 |
"#include E<lt>stdlib.hE<gt>\n" |
| 446 |
"#include E<lt>string.hE<gt>\n" |
| 447 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 448 |
"#include E<lt>sys/types.hE<gt>\n" |
| 449 |
"\\&\n" |
| 450 |
"int\n" |
| 451 |
"main(void)\n" |
| 452 |
"{\n" |
| 453 |
" int retval;\n" |
| 454 |
" int sockfd;\n" |
| 455 |
" struct iovec msg1[2], msg2;\n" |
| 456 |
" struct mmsghdr msg[2];\n" |
| 457 |
" struct sockaddr_in addr;\n" |
| 458 |
"\\&\n" |
| 459 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 460 |
" if (sockfd == -1) {\n" |
| 461 |
" perror(\"socket()\");\n" |
| 462 |
" exit(EXIT_FAILURE);\n" |
| 463 |
" }\n" |
| 464 |
"\\&\n" |
| 465 |
" addr.sin_family = AF_INET;\n" |
| 466 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 467 |
" addr.sin_port = htons(1234);\n" |
| 468 |
" if (connect(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 469 |
" perror(\"connect()\");\n" |
| 470 |
" exit(EXIT_FAILURE);\n" |
| 471 |
" }\n" |
| 472 |
"\\&\n" |
| 473 |
" memset(msg1, 0, sizeof(msg1));\n" |
| 474 |
" msg1[0].iov_base = \"one\";\n" |
| 475 |
" msg1[0].iov_len = 3;\n" |
| 476 |
" msg1[1].iov_base = \"two\";\n" |
| 477 |
" msg1[1].iov_len = 3;\n" |
| 478 |
"\\&\n" |
| 479 |
" memset(&msg2, 0, sizeof(msg2));\n" |
| 480 |
" msg2.iov_base = \"three\";\n" |
| 481 |
" msg2.iov_len = 5;\n" |
| 482 |
"\\&\n" |
| 483 |
" memset(msg, 0, sizeof(msg));\n" |
| 484 |
" msg[0].msg_hdr.msg_iov = msg1;\n" |
| 485 |
" msg[0].msg_hdr.msg_iovlen = 2;\n" |
| 486 |
"\\&\n" |
| 487 |
" msg[1].msg_hdr.msg_iov = &msg2;\n" |
| 488 |
" msg[1].msg_hdr.msg_iovlen = 1;\n" |
| 489 |
"\\&\n" |
| 490 |
" retval = sendmmsg(sockfd, msg, 2, 0);\n" |
| 491 |
" if (retval == -1)\n" |
| 492 |
" perror(\"sendmmsg()\");\n" |
| 493 |
" else\n" |
| 494 |
" printf(\"%d messages sent\\[rs]n\", retval);\n" |
| 495 |
"\\&\n" |
| 496 |
" exit(0);\n" |
| 497 |
"}\n" |
| 498 |
msgstr "" |
| 499 |
"#define _GNU_SOURCE\n" |
| 500 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 501 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 502 |
"#include E<lt>stdio.hE<gt>\n" |
| 503 |
"#include E<lt>stdlib.hE<gt>\n" |
| 504 |
"#include E<lt>string.hE<gt>\n" |
| 505 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 506 |
"#include E<lt>sys/types.hE<gt>\n" |
| 507 |
"\\&\n" |
| 508 |
"int\n" |
| 509 |
"main(void)\n" |
| 510 |
"{\n" |
| 511 |
" int retval;\n" |
| 512 |
" int sockfd;\n" |
| 513 |
" struct iovec msg1[2], msg2;\n" |
| 514 |
" struct mmsghdr msg[2];\n" |
| 515 |
" struct sockaddr_in addr;\n" |
| 516 |
"\\&\n" |
| 517 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 518 |
" if (sockfd == -1) {\n" |
| 519 |
" perror(\"socket()\");\n" |
| 520 |
" exit(EXIT_FAILURE);\n" |
| 521 |
" }\n" |
| 522 |
"\\&\n" |
| 523 |
" addr.sin_family = AF_INET;\n" |
| 524 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 525 |
" addr.sin_port = htons(1234);\n" |
| 526 |
" if (connect(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 527 |
" perror(\"connect()\");\n" |
| 528 |
" exit(EXIT_FAILURE);\n" |
| 529 |
" }\n" |
| 530 |
"\\&\n" |
| 531 |
" memset(msg1, 0, sizeof(msg1));\n" |
| 532 |
" msg1[0].iov_base = \"un\";\n" |
| 533 |
" msg1[0].iov_len = 3;\n" |
| 534 |
" msg1[1].iov_base = \"deux\";\n" |
| 535 |
" msg1[1].iov_len = 3;\n" |
| 536 |
"\\&\n" |
| 537 |
" memset(&msg2, 0, sizeof(msg2));\n" |
| 538 |
" msg2.iov_base = \"trois\";\n" |
| 539 |
" msg2.iov_len = 5;\n" |
| 540 |
"\\&\n" |
| 541 |
" memset(msg, 0, sizeof(msg));\n" |
| 542 |
" msg[0].msg_hdr.msg_iov = msg1;\n" |
| 543 |
" msg[0].msg_hdr.msg_iovlen = 2;\n" |
| 544 |
"\\&\n" |
| 545 |
" msg[1].msg_hdr.msg_iov = &msg2;\n" |
| 546 |
" msg[1].msg_hdr.msg_iovlen = 1;\n" |
| 547 |
"\\&\n" |
| 548 |
" retval = sendmmsg(sockfd, msg, 2, 0);\n" |
| 549 |
" if (retval == -1)\n" |
| 550 |
" perror(\"sendmmsg()\");\n" |
| 551 |
" else\n" |
| 552 |
" printf(\"%d messages envoyés\\[rs]n\", resultat);\n" |
| 553 |
"\\&\n" |
| 554 |
" exit(0);\n" |
| 555 |
"}\n" |
| 556 |
|
| 557 |
#. SRC END |
| 558 |
#. type: SH |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
#, no-wrap |
| 562 |
msgid "SEE ALSO" |
| 563 |
msgstr "VOIR AUSSI" |
| 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 "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)" |
| 569 |
msgstr "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)" |
| 570 |
|
| 571 |
#. type: TH |
| 572 |
#: debian-trixie |
| 573 |
#, no-wrap |
| 574 |
msgid "2024-06-15" |
| 575 |
msgstr "15 juin 2024" |
| 576 |
|
| 577 |
#. type: TH |
| 578 |
#: debian-trixie |
| 579 |
#, no-wrap |
| 580 |
msgid "Linux man-pages 6.9.1" |
| 581 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: debian-trixie |
| 585 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 586 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 587 |
|
| 588 |
#. type: Plain text |
| 589 |
#: debian-trixie |
| 590 |
#, no-wrap |
| 591 |
msgid "" |
| 592 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 593 |
"B< int >I<flags>B<);>\n" |
| 594 |
msgstr "" |
| 595 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 596 |
"B< int >I<flags>B<);>\n" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: debian-trixie |
| 600 |
msgid "" |
| 601 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 602 |
"The size of this array is specified in I<vlen>." |
| 603 |
msgstr "" |
| 604 |
"L'argument I<msgvec> est un pointeur vers un tableau de structures " |
| 605 |
"I<mmsghdr>. La taille de ce tableau est précisée dans I<vlen>." |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: debian-trixie |
| 609 |
msgid "" |
| 610 |
"A blocking B<sendmmsg>() call blocks until I<vlen> messages have been " |
| 611 |
"sent. A nonblocking call sends as many messages as possible (up to the " |
| 612 |
"limit specified by I<vlen>) and returns immediately." |
| 613 |
msgstr "" |
| 614 |
"Un appel bloquant B<sendmmsg>() bloque jusqu'à ce que I<vlen> messages aient " |
| 615 |
"été envoyés. Un appel non bloquant envoie autant de messages que possible " |
| 616 |
"(jusqu'à la limite indiquée par I<vlen>) et renvoie immédiatement." |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: debian-trixie |
| 620 |
msgid "" |
| 621 |
"On success, B<sendmmsg>() returns the number of messages sent from " |
| 622 |
"I<msgvec>; if this is less than I<vlen>, the caller can retry with a further " |
| 623 |
"B<sendmmsg>() call to send the remaining messages." |
| 624 |
msgstr "" |
| 625 |
"En cas du succès, B<sendmmsg>() renvoie le nombre de messages envoyés depuis " |
| 626 |
"I<msgvec> ; si ce nombre est strictement inférieur à I<vlen>, l'appelant " |
| 627 |
"peut réessayer avec un nouvel appel B<sendmmsg>() pour envoyer les messages " |
| 628 |
"restants." |
| 629 |
|
| 630 |
# |
| 631 |
# |
| 632 |
#. commit 98382f419f32d2c12d021943b87dea555677144b |
| 633 |
#. net: Cap number of elements for sendmmsg |
| 634 |
#. To limit the amount of time we can spend in sendmmsg, cap the |
| 635 |
#. number of elements to UIO_MAXIOV (currently 1024). |
| 636 |
#. For error handling an application using sendmmsg needs to retry at |
| 637 |
#. the first unsent message, so capping is simpler and requires less |
| 638 |
#. application logic than returning EINVAL. |
| 639 |
#. type: Plain text |
| 640 |
#: debian-trixie |
| 641 |
msgid "The value specified in I<vlen> is capped to B<UIO_MAXIOV> (1024)." |
| 642 |
msgstr "" |
| 643 |
"La valeur indiquée dans I<vlen> ne peut pas dépasser B<UIO_MAXIOV> (1024)." |
| 644 |
|
| 645 |
#. type: TH |
| 646 |
#: fedora-44 fedora-rawhide |
| 647 |
#, no-wrap |
| 648 |
msgid "2024-11-17" |
| 649 |
msgstr "17 novembre 2024" |
| 650 |
|
| 651 |
#. type: TH |
| 652 |
#: fedora-44 fedora-rawhide |
| 653 |
#, no-wrap |
| 654 |
msgid "Linux man-pages 6.13" |
| 655 |
msgstr "Pages du manuel de Linux 6.13" |
| 656 |
|
| 657 |
#. type: Plain text |
| 658 |
#: fedora-44 fedora-rawhide |
| 659 |
#, no-wrap |
| 660 |
msgid "" |
| 661 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 662 |
"B< int >I<flags>B<);>\n" |
| 663 |
msgstr "" |
| 664 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 665 |
"B< int >I<flags>B<);>\n" |
| 666 |
|
| 667 |
#. type: TH |
| 668 |
#: mageia-cauldron |
| 669 |
#, no-wrap |
| 670 |
msgid "Linux man-pages 6.17" |
| 671 |
msgstr "Pages du manuel de Linux 6.17" |
| 672 |
|
| 673 |
#. type: TH |
| 674 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
#, no-wrap |
| 676 |
msgid "Linux man-pages (unreleased)" |
| 677 |
msgstr "Pages du manuel de Linux (non publiées)" |