Debian Codegraph @

po/fr/man2/recv.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999,2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 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.22.0\n"
24 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
25 "PO-Revision-Date: 2024-04-17 17:29+0200\n"
26 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "recv"
40 msgstr "recv"
41
42 #. type: TH
43 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
44 #: opensuse-tumbleweed
45 #, no-wrap
46 msgid "2025-10-29"
47 msgstr "29 octobre 2025"
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 "recv, recvfrom, recvmsg - receive a message from a socket"
66 msgstr "recv, recvfrom, recvmsg - Recevoir un message d'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 "B<#include E<lt>sys/socket.hE<gt>>\n"
93 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, fuzzy, no-wrap
99 #| msgid ""
100 #| "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
101 #| "B< int >I<flags>B<);>\n"
102 #| "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
103 #| "B< int >I<flags>B<,>\n"
104 #| "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
105 #| "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
106 #| "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
107 msgid ""
108 "B<ssize_t recv(>size_t size;\n"
109 "B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
110 "B< int >I<flags>B<);>\n"
111 "B<ssize_t recvfrom(>size_t size;\n"
112 "B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
113 "B< int >I<flags>B<,>\n"
114 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
115 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
116 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
117 msgstr ""
118 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
119 "B< int >I<flags>B<);>\n"
120 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
121 "B< int >I<flags>B<,>\n"
122 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
123 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
124 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
125
126 #. type: SH
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid "DESCRIPTION"
131 msgstr "DESCRIPTION"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "The B<recv>(), B<recvfrom>(), and B<recvmsg>() calls are used to receive "
138 "messages from a socket. They may be used to receive data on both "
139 "connectionless and connection-oriented sockets. This page first describes "
140 "common features of all three system calls, and then describes the "
141 "differences between the calls."
142 msgstr ""
143 "Les appels système B<recv>(), B<recvfrom>() et B<recvmsg>() sont utilisés "
144 "pour recevoir des messages depuis un socket, et peuvent servir sur un socket "
145 "orienté connexion ou non. Cette page décrit dans un premier temps les "
146 "fonctionnalités communes de ces trois appels système, puis précise ensuite "
147 "ce qui les différencie. "
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The only difference between B<recv>() and B<read>(2) is the presence of "
154 "I<flags>. With a zero I<flags> argument, B<recv>() is generally equivalent "
155 "to B<read>(2) (but see NOTES). Also, the following call"
156 msgstr ""
157 "La seule différence entre B<recv>() et B<read>(2) est la présence de "
158 "I<flags>. Si l’argument I<flags> est absent, B<recv>() est généralement "
159 "équivalent à B<read>(2) (mais voir les NOTES). De plus, l'appel suivant"
160
161 #. type: Plain text
162 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
163 #: opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "recv(sockfd, buf, size, flags);\n"
166 msgstr "recv(sockfd, buf, size, flags);\n"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid "is equivalent to"
172 msgstr "est équivalent à\\ :"
173
174 #. type: Plain text
175 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
176 #: opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
179 msgstr "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
180
181 #. type: Plain text
182 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
183 #: opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "All three calls return the size of the message on successful completion. If "
186 "a message is too long to fit in the supplied buffer, excess bytes may be "
187 "discarded depending on the type of socket the message is received from."
188 msgstr ""
189 "Ces trois appels renvoient la longueur du message s'ils réussissent. Si un "
190 "message est trop long pour tenir dans le tampon, les octets supplémentaires "
191 "peuvent être abandonnés suivant le type de socket utilisé."
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 "If no messages are available at the socket, the receive calls wait for a "
198 "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in "
199 "which case the value -1 is returned and I<errno> is set to B<EAGAIN> or "
200 "B<EWOULDBLOCK>. The receive calls normally return any data available, up to "
201 "the requested amount, rather than waiting for receipt of the full amount "
202 "requested."
203 msgstr ""
204 "Si aucun message n'est disponible sur le socket, les appels à réception se "
205 "mettent en attente, à moins que le socket soit non bloquant (voir "
206 "B<fcntl>(2)), auquel cas la valeur B<-1> est renvoyée et I<errno> est "
207 "positionnée à B<EAGAIN> ou B<EWOULDBLOCK>. Les appels à réception renvoient "
208 "normalement les données disponibles, jusqu’au montant demandé, sans attendre "
209 "d'avoir reçu le nombre exact réclamé."
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "An application can use B<select>(2), B<poll>(2), or B<epoll>(7) to "
216 "determine when more data arrives on a socket."
217 msgstr ""
218 "Une application peut avoir recours à B<select>(2), B<poll>(2), ou "
219 "B<epoll>(7) pour savoir si des données supplémentaires arrivent dans le "
220 "socket."
221
222 #. type: SS
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "The flags argument"
227 msgstr "Le paramètre des attributs"
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 "The I<flags> argument is formed by ORing one or more of the following values:"
234 msgstr ""
235 "L'argument I<flags> est constitué à partir d'un I<OU> binaire entre une ou "
236 "plusieurs des valeurs suivantes\\ :"
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() only; since Linux 2.6.23)"
243 msgstr "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() uniquement ; depuis Linux 2.6.23)"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "Set the close-on-exec flag for the file descriptor received via a UNIX "
250 "domain file descriptor using the B<SCM_RIGHTS> operation (described in "
251 "B<unix>(7)). This flag is useful for the same reasons as the B<O_CLOEXEC> "
252 "flag of B<open>(2)."
253 msgstr ""
254 "Positionner l'attribut « close-on-exec » pour le descripteur de fichier reçu "
255 "à l’aide d’un descripteur de fichier de domaine UNIX en utilisant "
256 "l'opération B<SCM_RIGHTS> (décrite dans B<unix>(7)). Cet attribut est utile "
257 "pour les mêmes raisons que l'attribut B<O_CLOEXEC> de B<open>(2)."
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
264 msgstr "B<MSG_DONTWAIT> (depuis Linux 2.2)"
265
266 #. type: Plain text
267 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 #, fuzzy
270 #| msgid ""
271 #| "Enables nonblocking operation; if the operation would block, the call "
272 #| "fails with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar "
273 #| "behavior to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) "
274 #| "B<F_SETFL> operation), but differs in that B<MSG_DONTWAIT> is a per-call "
275 #| "option, whereas B<O_NONBLOCK> is a setting on the open file description "
276 #| "(see B<open>(2)), which will affect all threads in the calling process as "
277 #| "well as other processes that hold file descriptors referring to the same "
278 #| "open file description."
279 msgid ""
280 "Enables nonblocking operation; if the operation would block, the call fails "
281 "with B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior to setting "
282 "the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but "
283 "differs in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> "
284 "is a setting on the open file description (see B<open>(2)), which will "
285 "affect all threads in the calling process as well as other processes that "
286 "hold file descriptors referring to the same open file description."
287 msgstr ""
288 "Activer l'opération non bloquante ; si elle bloque, l'appel échoue avec "
289 "l'erreur B<EAGAIN> ou B<EWOULDBLOCK>. Cela fournit un comportement identique "
290 "à la définition de l'attribut B<O_NONBLOCK> (à l'aide de l'opération "
291 "B<F_SETFL> de B<fcntl>(2)), sauf que B<MSG_DONTWAIT> est une option pour "
292 "chaque appel tandis que B<O_NONBLOCK> est un paramètre sur la description du "
293 "fichier ouvert (voir B<open>(2)), qui touchera tous les threads du processus "
294 "appelant ainsi que d'autres processus détenant des descripteurs de fichier "
295 "se rapportant à la même description de fichier ouvert."
296
297 #. type: TP
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "B<MSG_ERRQUEUE> (since Linux 2.2)"
302 msgstr "B<MSG_ERRQUEUE> (depuis Linux 2.2)"
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "This flag specifies that queued errors should be received from the socket "
309 "error queue. The error is passed in an ancillary message with a type "
310 "dependent on the protocol (for IPv4 B<IP_RECVERR>). The user should supply "
311 "a buffer of sufficient size. See B<cmsg>(3) and B<ip>(7) for more "
312 "information. The payload of the original packet that caused the error is "
313 "passed as normal data via I<msg_iovec>. The original destination address of "
314 "the datagram that caused the error is supplied via I<msg_name>."
315 msgstr ""
316 "Cet attribut demande que les erreurs soient reçues depuis la file d'erreur "
317 "du socket. Les erreurs sont transmises dans un message annexe dont le type "
318 "dépend du protocole (B<IP_RECVERR> pour IPv4). Il faut alors fournir un "
319 "tampon de taille suffisante. Consultez B<cmsg>(3) et B<ip>(7) pour plus de "
320 "détails. Le contenu du paquet original qui a causé l'erreur est passé en "
321 "tant que données normales dans I<msg_iovec>. L'adresse de destination "
322 "originale du datagramme ayant causé l'erreur est fournie dans I<msg_name>."
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 "The error is supplied in a I<sock_extended_err> structure:"
328 msgstr "L'erreur est contenue dans une structure I<sock_extended_err>\\ :"
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 #, no-wrap
334 msgid ""
335 "#define SO_EE_ORIGIN_NONE 0\n"
336 "#define SO_EE_ORIGIN_LOCAL 1\n"
337 "#define SO_EE_ORIGIN_ICMP 2\n"
338 "#define SO_EE_ORIGIN_ICMP6 3\n"
339 "\\&\n"
340 "struct sock_extended_err\n"
341 "{\n"
342 " uint32_t ee_errno; /* Error number */\n"
343 " uint8_t ee_origin; /* Where the error originated */\n"
344 " uint8_t ee_type; /* Type */\n"
345 " uint8_t ee_code; /* Code */\n"
346 " uint8_t ee_pad; /* Padding */\n"
347 " uint32_t ee_info; /* Additional information */\n"
348 " uint32_t ee_data; /* Other data */\n"
349 " /* More data may follow */\n"
350 "};\n"
351 "\\&\n"
352 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
353 msgstr ""
354 "#define SO_EE_ORIGIN_NONE 0\n"
355 "#define SO_EE_ORIGIN_LOCAL 1\n"
356 "#define SO_EE_ORIGIN_ICMP 2\n"
357 "#define SO_EE_ORIGIN_ICMP6 3\n"
358 "\\&\n"
359 "struct sock_extended_err\n"
360 "{\n"
361 " uint32_t ee_errno; /* numéro d'erreur */\n"
362 " uint8_t ee_origin; /* origine de l'erreur */\n"
363 " uint8_t ee_type; /* type */\n"
364 " uint8_t ee_code; /* code */\n"
365 " uint8_t ee_pad; /* remplissage */\n"
366 " uint32_t ee_info; /* données supplémentaires */\n"
367 " uint32_t ee_data; /* autres données */\n"
368 " /* Des données supplémentaires peuvent suivre */\n"
369 "};\n"
370 "\\&\n"
371 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
378 "is the origin code of where the error originated. The other fields are "
379 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
380 "address of the network object where the error originated from given a "
381 "pointer to the ancillary message. If this address is not known, the "
382 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
383 "fields of the I<sockaddr> are undefined. The payload of the packet that "
384 "caused the error is passed as normal data."
385 msgstr ""
386 "I<ee_errno> contient le code I<errno> de l'erreur en file d’attente. "
387 "I<ee_origin> est le code d'origine d’où l’erreur provient. Les autres champs "
388 "sont spécifiques au protocole. La macro B<SO_EE_OFFENDER> renvoie un "
389 "pointeur sur l'adresse de l'objet réseau ayant déclenché l'erreur, en "
390 "donnant un pointeur sur le message annexe. Si cette adresse n'est pas "
391 "connue, le membre I<sa_family> de la structure I<sockaddr> contient "
392 "B<AF_UNSPEC> et les autres champs de la structure I<sockaddr> sont "
393 "indéfinis. Le contenu du paquet ayant déclenché l'erreur est transmis en "
394 "données normales."
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "For local errors, no address is passed (this can be checked with the "
401 "I<cmsg_len> member of the I<cmsghdr>). For error receives, the "
402 "B<MSG_ERRQUEUE> flag is set in the I<msghdr>. After an error has been "
403 "passed, the pending socket error is regenerated based on the next queued "
404 "error and will be passed on the next socket operation."
405 msgstr ""
406 "Pour les erreurs locales, aucune adresse n'est passée (cela peut être "
407 "vérifié dans le membre I<cmsg_len> de I<cmsghdr>). À la réception d'une "
408 "erreur, B<MSG_ERRQUEUE> est placé dans I<msghdr>. Après réception d'une "
409 "erreur, l'erreur en attente sur le socket est régénérée en fonction de la "
410 "prochaine erreur dans la file et sera transmise lors de l'opération suivante "
411 "sur le socket."
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<MSG_OOB>"
418 msgstr "B<MSG_OOB>"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid ""
424 "This flag requests receipt of out-of-band data that would not be received in "
425 "the normal data stream. Some protocols place expedited data at the head of "
426 "the normal data queue, and thus this flag cannot be used with such protocols."
427 msgstr ""
428 "Cette option demande la réception de données hors-bande qui ne seraient pas "
429 "reçues dans le flux normal de données. Certains protocoles placent ces "
430 "données hors-bande en tête de la file normale, et cette option n'a pas lieu "
431 "d'être dans ce cas."
432
433 #. type: TP
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "B<MSG_PEEK>"
438 msgstr "B<MSG_PEEK>"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "This flag causes the receive operation to return data from the beginning of "
445 "the receive queue without removing that data from the queue. Thus, a "
446 "subsequent receive call will return the same data."
447 msgstr ""
448 "Cette option fait que l’opération de réception renvoie les données du début "
449 "de la queue de réception sans les enlever de cette file. Ainsi un appel à "
450 "réception ultérieur renverra à nouveau les mêmes données."
451
452 #. type: TP
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "B<MSG_TRUNC> (since Linux 2.2)"
457 msgstr "B<MSG_TRUNC> (depuis Linux 2.2)"
458
459 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
460 #. type: Plain text
461 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
462 #: opensuse-leap-16-1 opensuse-tumbleweed
463 msgid ""
464 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
465 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
466 "(since Linux 3.4) sockets: return the real size of the packet or datagram, "
467 "even when it was longer than the passed buffer."
468 msgstr ""
469 "Pour les sockets bruts (B<AF_PACKET>), les sockets de datagrammes Internet "
470 "(depuis Linux 2.4.27/2.6.8), de netlink (depuis Linux 2.6.22) et des "
471 "datagrammes UNIX ainsi que pour ceux des paquets ordonnés (depuis "
472 "Linux 3.4) : renvoyer la taille réelle du paquet ou datagramme, même quand "
473 "il est plus grand que le tampon fourni."
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid "For use with Internet stream sockets, see B<tcp>(7)."
479 msgstr ""
480 "Pour une utilisation avec des sockets de flux Internet, consultez B<tcp>(7)."
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<MSG_WAITALL> (since Linux 2.2)"
487 msgstr "B<MSG_WAITALL> (depuis Linux 2.2)"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "This flag requests that the operation block until the full request is "
494 "satisfied. However, the call may still return less data than requested if a "
495 "signal is caught, an error or disconnect occurs, or the next data to be "
496 "received is of a different type than that returned. This flag has no effect "
497 "for datagram sockets."
498 msgstr ""
499 "Ce drapeau demande que l'opération de lecture soit bloquée jusqu'à ce que la "
500 "requête complète soit satisfaite. Toutefois, la lecture peut renvoyer quand "
501 "même moins de données que prévu si un signal est reçu, si une erreur ou une "
502 "déconnexion se produisent ou si les données suivantes à recevoir sont d'un "
503 "type différent de celles renvoyées. Ce drapeau n'a aucun effet sur les "
504 "sockets de datagramme."
505
506 #. type: SS
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid "recvfrom()"
511 msgstr "recvfrom()"
512
513 #. type: Plain text
514 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
515 #: opensuse-leap-16-1 opensuse-tumbleweed
516 msgid ""
517 "B<recvfrom>() places the received message into the buffer I<buf>. The "
518 "caller must specify the size of the buffer in I<size>."
519 msgstr ""
520 "B<recvfrom>() enregistre le message reçu dans le tampon I<buf>. Le processus "
521 "appelant doit préciser la taille de ce tampon dans I<size>."
522
523 #. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
524 #. (Note: for datagram sockets in both the UNIX and Internet domains,
525 #. .I src_addr
526 #. is filled in.
527 #. .I src_addr
528 #. is also filled in for stream sockets in the UNIX domain, but is not
529 #. filled in for stream sockets in the Internet domain.)
530 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
531 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
532 #. type: Plain text
533 #. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
534 #. (Note: for datagram sockets in both the UNIX and Internet domains,
535 #. .I src_addr
536 #. is filled in.
537 #. .I src_addr
538 #. is also filled in for stream sockets in the UNIX domain, but is not
539 #. filled in for stream sockets in the Internet domain.)
540 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
541 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
542 #. type: Plain text
543 #. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
544 #. (Note: for datagram sockets in both the UNIX and Internet domains,
545 #. .I src_addr
546 #. is filled in.
547 #. .I src_addr
548 #. is also filled in for stream sockets in the UNIX domain, but is not
549 #. filled in for stream sockets in the Internet domain.)
550 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
551 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
552 #. type: Plain text
553 #. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
554 #. (Note: for datagram sockets in both the UNIX and Internet domains,
555 #. .I src_addr
556 #. is filled in.
557 #. .I src_addr
558 #. is also filled in for stream sockets in the UNIX domain, but is not
559 #. filled in for stream sockets in the Internet domain.)
560 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
561 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
562 #. type: Plain text
563 #. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
564 #. (Note: for datagram sockets in both the UNIX and Internet domains,
565 #. .I src_addr
566 #. is filled in.
567 #. .I src_addr
568 #. is also filled in for stream sockets in the UNIX domain, but is not
569 #. filled in for stream sockets in the Internet domain.)
570 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
571 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
572 #. type: Plain text
573 #. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
574 #. (Note: for datagram sockets in both the UNIX and Internet domains,
575 #. .I src_addr
576 #. is filled in.
577 #. .I src_addr
578 #. is also filled in for stream sockets in the UNIX domain, but is not
579 #. filled in for stream sockets in the Internet domain.)
580 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
581 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
582 #. type: Plain text
583 #. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
584 #. (Note: for datagram sockets in both the UNIX and Internet domains,
585 #. .I src_addr
586 #. is filled in.
587 #. .I src_addr
588 #. is also filled in for stream sockets in the UNIX domain, but is not
589 #. filled in for stream sockets in the Internet domain.)
590 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
591 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
592 #. type: Plain text
593 #. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
594 #. (Note: for datagram sockets in both the UNIX and Internet domains,
595 #. .I src_addr
596 #. is filled in.
597 #. .I src_addr
598 #. is also filled in for stream sockets in the UNIX domain, but is not
599 #. filled in for stream sockets in the Internet domain.)
600 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
601 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "If I<src_addr> is not NULL, and the underlying protocol provides the source "
607 "address of the message, that source address is placed in the buffer pointed "
608 "to by I<src_addr>. In this case, I<addrlen> is a value-result argument. "
609 "Before the call, it should be initialized to the size of the buffer "
610 "associated with I<src_addr>. Upon return, I<addrlen> is updated to contain "
611 "the actual size of the source address. The returned address is truncated if "
612 "the buffer provided is too small; in this case, I<addrlen> will return a "
613 "value greater than was supplied to the call."
614 msgstr ""
615 "Si I<src_addr> n'est pas NULL, et si le protocole sous-jacent fournit "
616 "l'adresse de la source, celle-ci y est insérée dans le tampon désigné par "
617 "I<src_addr>. Dans ce cas, I<addrlen> est un paramètre valeur-résultat. Avant "
618 "l'appel, il doit être initialisé à la valeur de la taille du tampon associé "
619 "à I<src_addr>. En retour, I<addrlen> est mis à jour avec la valeur réelle de "
620 "l'adresse source. Cette adresse est tronquée si le tampon fourni n'a pas une "
621 "taille suffisante ; dans ce cas I<addrlen> renvoie un valeur supérieure à "
622 "celle fournie lors de l'appel."
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid ""
628 "If the caller is not interested in the source address, I<src_addr> and "
629 "I<addrlen> should be specified as NULL."
630 msgstr ""
631 "Si le processus appelant n'est pas intéressé par l'adresse de la source, "
632 "I<src_addr> et I<addrlen> doivent avoir la valeur NULL."
633
634 #. type: SS
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 #, no-wrap
638 msgid "recv()"
639 msgstr "recv()"
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
644 msgid ""
645 "The B<recv>() call is normally used only on a I<connected> socket (see "
646 "B<connect>(2)). It is equivalent to the call:"
647 msgstr ""
648 "L'appel B<recv>() est normalement utilisé sur un socket I<connecté> (voir "
649 "B<connect>(2)). Il est équivalent à l'appel :"
650
651 #. type: Plain text
652 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
653 #: opensuse-tumbleweed
654 #, fuzzy, no-wrap
655 #| msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
656 msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n"
657 msgstr "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
658
659 #. type: SS
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "recvmsg()"
664 msgstr "recvmsg()"
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid ""
670 "The B<recvmsg>() call uses a I<msghdr> structure to minimize the number of "
671 "directly supplied arguments. This structure is defined as follows in "
672 "I<E<lt>sys/socket.hE<gt>>:"
673 msgstr ""
674 "L'appel B<recvmsg>() utilise une structure I<msghdr> pour minimiser le "
675 "nombre de paramètres à fournir directement. Cette structure est définie dans "
676 "I<E<lt>sys/socket.hE<gt>> comme ceci\\ :"
677
678 #. type: Plain text
679 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
680 #: opensuse-leap-16-1 opensuse-tumbleweed
681 #, no-wrap
682 msgid ""
683 "struct msghdr {\n"
684 " void *msg_name; /* Optional address */\n"
685 " socklen_t msg_namelen; /* Size of address */\n"
686 " struct iovec *msg_iov; /* Scatter/gather array */\n"
687 " size_t msg_iovlen; /* # elements in msg_iov */\n"
688 " void *msg_control; /* Ancillary data, see below */\n"
689 " size_t msg_controllen; /* Ancillary data buffer size */\n"
690 " int msg_flags; /* Flags on received message */\n"
691 "};\n"
692 msgstr ""
693 "struct msghdr {\n"
694 " void *msg_name; /* Adresse optionnelle */\n"
695 " socklen_t msg_namelen; /* Taille de l'adresse */\n"
696 " struct iovec *msg_iov; /* Tableau scatter/gather */\n"
697 " size_t msg_iovlen; /* Nb. d’éléments dans msg_iov */\n"
698 " void *msg_control; /* Données annexes, voir ci\\(hydessous */\n"
699 " size_t msg_controllen; /* Taille du tampon de données annexe */\n"
700 " int msg_flags; /* Attributs du message reçu */\n"
701 "};\n"
702
703 #. type: Plain text
704 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
705 #: opensuse-leap-16-1 opensuse-tumbleweed
706 msgid ""
707 "The I<msg_name> field points to a caller-allocated buffer that is used to "
708 "return the source address if the socket is unconnected. The caller should "
709 "set I<msg_namelen> to the size of this buffer before this call; upon return "
710 "from a successful call, I<msg_namelen> will contain the size of the returned "
711 "address. If the application does not need to know the source address, "
712 "I<msg_name> can be specified as NULL."
713 msgstr ""
714 "Le champ I<msg_name> pointe vers un tampon alloué par l'appelant et qui est "
715 "utilisé pour renvoyer l'adresse source lorsque le socket n'est pas connecté. "
716 "L'appelant doit initialiser I<msg_namelen> avec la taille de ce tampon avant "
717 "l'appel ; si l'appel s'exécute avec succès, I<msg_name> prend pour valeur la "
718 "taille de l'adresse renvoyée. Si l'application n'a pas besoin de connaître "
719 "l'adresse source, on peut affecter la valeur NULL à I<msg_name>."
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "The fields I<msg_iov> and I<msg_iovlen> describe scatter-gather locations, "
726 "as discussed in B<readv>(2)."
727 msgstr ""
728 "Les champs I<msg_iov> et I<msg_iovlen> décrivent les emplacements de "
729 "dispersion-regroupement (scatter-gather) tels qu'expliqués dans B<readv>(2)."
730
731 #. type: Plain text
732 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
733 #: opensuse-leap-16-1 opensuse-tumbleweed
734 msgid ""
735 "The field I<msg_control>, which has size I<msg_controllen>, points to a "
736 "buffer for other protocol control-related messages or miscellaneous "
737 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
738 "contain the size of the available buffer in I<msg_control>; upon return from "
739 "a successful call it will contain the size of the control message sequence."
740 msgstr ""
741 "Le champ I<msg_control>, de taille I<msg_controllen>, pointe sur un tampon "
742 "utilisé pour les autres messages du protocole relatifs au contrôle, ou à "
743 "d'autres données annexes. Lorsqu'on invoque B<recvmsg>, I<msg_controllen> "
744 "doit contenir la taille du tampon disponible dans I<msg_control>\\ ; lors du "
745 "retour d’un appel réussi,il contiendra la taille de la séquence du message "
746 "de contrôle."
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "The messages are of the form:"
752 msgstr "Les messages ont la forme"
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid ""
759 "struct cmsghdr {\n"
760 " size_t cmsg_len; /* Data byte count, including header\n"
761 " (type is socklen_t in POSIX) */\n"
762 " int cmsg_level; /* Originating protocol */\n"
763 " int cmsg_type; /* Protocol-specific type */\n"
764 "/* followed by\n"
765 " unsigned char cmsg_data[]; */\n"
766 "};\n"
767 msgstr ""
768 "struct cmsghdr {\n"
769 " size_t cmsg_len; /* nombre d'octets de données, y compris l'en-tête\n"
770 " (de type socklen_t dans POSIX) */\n"
771 " int cmsg_level; /* protocole d'origine */\n"
772 " int cmsg_type; /* type dépendant du protocole */\n"
773 "/* suivi de\n"
774 " unsigned char cmsg_data[]; */\n"
775 "};\n"
776
777 #. type: Plain text
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 msgid ""
781 "Ancillary data should be accessed only by the macros defined in B<cmsg>(3)."
782 msgstr ""
783 "Les données annexes ne doivent être manipulées qu'avec les macros de "
784 "B<cmsg>(3)."
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 msgid ""
790 "As an example, Linux uses this ancillary data mechanism to pass extended "
791 "errors, IP options, or file descriptors over UNIX domain sockets. For "
792 "further information on the use of ancillary data in various socket domains, "
793 "see B<unix>(7) and B<ip>(7)."
794 msgstr ""
795 "À titre d'exemple, Linux utilise ce mécanisme de données annexes pour "
796 "transmettre des erreurs étendues, des options IP ou des descripteurs de "
797 "fichier sur des sockets de domaine UNIX. Pour plus d'informations sur "
798 "l'utilisation de ce mécanisme sur divers domaines de socket, voir B<unix>(7) "
799 "et B<ip>(7)."
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid ""
805 "The I<msg_flags> field in the I<msghdr> is set on return of B<recvmsg>(). "
806 "It can contain several flags:"
807 msgstr ""
808 "Le champ I<msg_flags> du I<msghdr> est rempli au retour de B<recvmsg>(). Il "
809 "peut contenir plusieurs attributs\\ : "
810
811 #. type: TP
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "B<MSG_EOR>"
816 msgstr "B<MSG_EOR>"
817
818 #. type: Plain text
819 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
820 #: opensuse-tumbleweed
821 #, fuzzy
822 #| msgid ""
823 #| "indicates end-of-record; the data returned completed a record (generally "
824 #| "used with sockets of type B<SOCK_SEQPACKET>)."
825 msgid ""
826 "indicates end-of-record; the data returned completed a record (generally, "
827 "used with sockets of type B<SOCK_SEQPACKET>)."
828 msgstr ""
829 "indique une fin d'enregistrement, les données reçues terminent un "
830 "enregistrement (utilisé généralement avec les sockets du type "
831 "B<SOCK_SEQPACKET>)."
832
833 #. type: TP
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 #, no-wrap
837 msgid "B<MSG_TRUNC>"
838 msgstr "B<MSG_TRUNC>"
839
840 #. type: Plain text
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 msgid ""
844 "indicates that the trailing portion of a datagram was discarded because the "
845 "datagram was larger than the buffer supplied."
846 msgstr ""
847 "indique que la portion finale du datagramme a été abandonnée car le "
848 "datagramme était trop long pour le tampon fourni."
849
850 #. type: TP
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "B<MSG_CTRUNC>"
855 msgstr "B<MSG_CTRUNC>"
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "indicates that some control data was discarded due to lack of space in the "
862 "buffer for ancillary data."
863 msgstr ""
864 "indique que des données de contrôle ont été abandonnées à cause d'un manque "
865 "de place dans le tampon de données annexes."
866
867 #. type: Plain text
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 msgid ""
871 "is returned to indicate that expedited or out-of-band data was received."
872 msgstr ""
873 "est renvoyé pour indiquer que des données prioritaires ou hors-bande ont été "
874 "reçues."
875
876 #. type: TP
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 #, no-wrap
880 msgid "B<MSG_ERRQUEUE>"
881 msgstr "B<MSG_ERRQUEUE>"
882
883 #. type: Plain text
884 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
885 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
886 msgid ""
887 "indicates that no data was received but an extended error from the socket "
888 "error queue."
889 msgstr ""
890 "indique qu'aucune donnée n'a été reçue, sauf une erreur étendue depuis la "
891 "file d'erreurs."
892
893 #. type: TP
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 #, no-wrap
897 msgid "B<MSG_CMSG_CLOEXEC> (since Linux 2.6.23)"
898 msgstr "B<MSG_CMSG_CLOEXEC> (depuis Linux 2.6.23)"
899
900 #. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7
901 #. type: Plain text
902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
904 msgid ""
905 "indicates that B<MSG_CMSG_CLOEXEC> was specified in the I<flags> argument of "
906 "B<recvmsg>()."
907 msgstr ""
908 "indique que B<MSG_CMSG_CLOEXEC> a été spécifié dans l'argument I<flags> de "
909 "B<recvmsg>()."
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 "RETURN VALUE"
916 msgstr "VALEUR RENVOYÉE"
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 "These calls return the number of bytes received, or -1 if an error "
923 "occurred. In the event of an error, I<errno> is set to indicate the error."
924 msgstr ""
925 "Ces appels renvoient le nombre d'octets reçus si elles réussissent, ou B<-1> "
926 "si elles échouent. Dans ce dernier cas, I<errno> permettra d'identifier la "
927 "cause de l'erreur."
928
929 #. type: Plain text
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 msgid ""
933 "When a stream socket peer has performed an orderly shutdown, the return "
934 "value will be 0 (the traditional \"end-of-file\" return)."
935 msgstr ""
936 "Lorsque le partenaire d'un socket de flux se ferme proprement, la valeur "
937 "renvoyée est B<0> (c'est-à-dire la valeur habituellement renvoyée lorsqu'on "
938 "arrive à la fin d'un fichier). "
939
940 #. type: Plain text
941 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
942 #: opensuse-leap-16-1 opensuse-tumbleweed
943 msgid ""
944 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
945 "permit zero-size datagrams. When such a datagram is received, the return "
946 "value is 0."
947 msgstr ""
948 "Les sockets de datagrammes autorisent des datagrammes de taille nulle dans "
949 "différents domaines (par exemple, les domaines UNIX et Internet). Lorsque de "
950 "tels datagrammes sont reçus, la valeur renvoyée est B<0>."
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 "The value 0 may also be returned if the requested number of bytes to receive "
957 "from a stream socket was 0."
958 msgstr ""
959 "La valeur B<0> peut aussi être renvoyée lorsque le nombre d'octets demandé "
960 "en réception d'un socket de flux est égal à B<0>."
961
962 #. type: SH
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "ERRORS"
967 msgstr "ERREURS"
968
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 msgid ""
973 "These are some standard errors generated by the socket layer. Additional "
974 "errors may be generated and returned from the underlying protocol modules; "
975 "see their manual pages."
976 msgstr ""
977 "Voici quelques erreurs standards déclenchées par la couche socket. Des "
978 "erreurs supplémentaires peuvent être générées et renvoyées par des modules "
979 "du protocole sous-jacent. Consultez leurs pages de manuel."
980
981 #. type: TP
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 #, no-wrap
985 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
986 msgstr "B<EAGAIN> ou B<EWOULDBLOCK>"
987
988 #. Actually EAGAIN on Linux
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 "The socket is marked nonblocking and the receive operation would block, or a "
994 "receive timeout had been set and the timeout expired before data was "
995 "received. POSIX.1 allows either error to be returned for this case, and "
996 "does not require these constants to have the same value, so a portable "
997 "application should check for both possibilities."
998 msgstr ""
999 "Le socket est indiqué comme non bloquant et l'opération de réception "
1000 "bloquerait ou un délai de réception a été indiqué et il a expiré sans que "
1001 "l'on ait reçu quoi que ce soit. POSIX.1 autorise de renvoyer l'une ou "
1002 "l'autre des erreurs dans ce cas et n'exige pas que ces constantes aient la "
1003 "même valeur. Une application portable devrait donc tester les deux "
1004 "possibilités."
1005
1006 #. type: TP
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 #, no-wrap
1010 msgid "B<EBADF>"
1011 msgstr "B<EBADF>"
1012
1013 #. type: Plain text
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1016 msgid "The argument I<sockfd> is an invalid file descriptor."
1017 msgstr "Le paramètre I<sockfd> est un descripteur de fichier non valable."
1018
1019 #. type: TP
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 #, no-wrap
1023 msgid "B<ECONNREFUSED>"
1024 msgstr "B<ECONNREFUSED>"
1025
1026 #. type: Plain text
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 msgid ""
1030 "A remote host refused to allow the network connection (typically because it "
1031 "is not running the requested service)."
1032 msgstr ""
1033 "Un hôte distant a refusé la connexion réseau (généralement parce qu'il "
1034 "n'offre pas le service demandé)."
1035
1036 #. type: TP
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 #, no-wrap
1040 msgid "B<EFAULT>"
1041 msgstr "B<EFAULT>"
1042
1043 #. type: Plain text
1044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1046 msgid ""
1047 "The receive buffer pointer(s) point outside the process's address space."
1048 msgstr "Un tampon pointe en dehors de l'espace d'adressage accessible."
1049
1050 #. type: TP
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 #, no-wrap
1054 msgid "B<EINTR>"
1055 msgstr "B<EINTR>"
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 msgid ""
1061 "The receive was interrupted by delivery of a signal before any data was "
1062 "available; see B<signal>(7)."
1063 msgstr ""
1064 "Un signal a interrompu la réception avant que des données soient "
1065 "disponibles ; consultez B<signal>(7)."
1066
1067 #. type: TP
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 #, no-wrap
1071 msgid "B<EINVAL>"
1072 msgstr "B<EINVAL>"
1073
1074 #. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom()
1075 #. type: Plain text
1076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1078 msgid "Invalid argument passed."
1079 msgstr "Un paramètre non valable a été fourni."
1080
1081 #. type: TP
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 #, no-wrap
1085 msgid "B<ENOMEM>"
1086 msgstr "B<ENOMEM>"
1087
1088 #. type: Plain text
1089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1091 msgid "Could not allocate memory for B<recvmsg>()."
1092 msgstr "Pas assez de mémoire pour B<recvmsg>()."
1093
1094 #. type: TP
1095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1097 #, no-wrap
1098 msgid "B<ENOTCONN>"
1099 msgstr "B<ENOTCONN>"
1100
1101 #. type: Plain text
1102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1104 msgid ""
1105 "The socket is associated with a connection-oriented protocol and has not "
1106 "been connected (see B<connect>(2) and B<accept>(2))."
1107 msgstr ""
1108 "Le socket est associé à un protocole orienté connexion et n'a pas encore été "
1109 "connecté (consultez B<connect>(2) et B<accept>(2))."
1110
1111 #. type: TP
1112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1114 #, no-wrap
1115 msgid "B<ENOTSOCK>"
1116 msgstr "B<ENOTSOCK>"
1117
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid "The file descriptor I<sockfd> does not refer to a socket."
1122 msgstr "Le descripteur de fichier I<sockfd> ne fait pas référence à un socket."
1123
1124 #. type: SH
1125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1127 #, no-wrap
1128 msgid "VERSIONS"
1129 msgstr "VERSIONS"
1130
1131 #. POSIX.1-2001, POSIX.1-2008
1132 #. glibc bug for msg_controllen raised 12 Mar 2006
1133 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448
1134 #. The problem is an underlying kernel issue: the size of the
1135 #. __kernel_size_t type used to type these fields varies
1136 #. across architectures, but socklen_t is always 32 bits,
1137 #. as (at least with GCC) is int.
1138 #. type: Plain text
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 msgid ""
1142 "According to POSIX.1, the I<msg_controllen> field of the I<msghdr> structure "
1143 "should be typed as I<socklen_t>, and the I<msg_iovlen> field should be typed "
1144 "as I<int>, but glibc currently types both as I<size_t>."
1145 msgstr ""
1146 "Selon POSIX.1, le champ I<msg_controllen> de la structure I<msghdr> devrait "
1147 "être de type I<socklen_t> et le champ I<msg_iovlen> devrait être de type "
1148 "I<int>, mais ils ont tous deux le type I<size_t> dans la glibc."
1149
1150 #. type: SH
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 #, no-wrap
1154 msgid "STANDARDS"
1155 msgstr "NORMES"
1156
1157 #. type: Plain text
1158 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1159 #: opensuse-tumbleweed
1160 msgid "POSIX.1-2024."
1161 msgstr "POSIX.1-2024."
1162
1163 #. type: SH
1164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1166 #, no-wrap
1167 msgid "HISTORY"
1168 msgstr "HISTORIQUE"
1169
1170 #. type: Plain text
1171 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1172 #: opensuse-tumbleweed
1173 msgid "POSIX.1-2001, 4.2BSD."
1174 msgstr "POSIX.1-2008. 4.2BSD."
1175
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid ""
1180 "POSIX.1 describes only the B<MSG_OOB>, B<MSG_PEEK>, and B<MSG_WAITALL> flags."
1181 msgstr ""
1182 "POSIX.1 décrit seulement les drapeaux B<MSG_OOB>, B<MSG_PEEK> et "
1183 "B<MSG_WAITALL>."
1184
1185 #. type: SH
1186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1188 #, no-wrap
1189 msgid "NOTES"
1190 msgstr "NOTES"
1191
1192 #. type: Plain text
1193 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1194 #: opensuse-leap-16-1 opensuse-tumbleweed
1195 msgid ""
1196 "If a zero-size datagram is pending, B<read>(2) and B<recv>() with a "
1197 "I<flags> argument of zero provide different behavior. In this circumstance, "
1198 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1199 "consumes the pending datagram."
1200 msgstr ""
1201 "Si un datagramme de taille nulle est en attente, B<read>(2) et B<recv>() "
1202 "avec un paramètre I<flags> vide, donne un comportement différent. Dans ce "
1203 "cas, B<read>(2) n'a aucun effet (le datagramme reste en attente) alors que "
1204 "B<recv>() consomme le datagramme en attente."
1205
1206 #. type: Plain text
1207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1209 msgid ""
1210 "See B<recvmmsg>(2) for information about a Linux-specific system call that "
1211 "can be used to receive multiple datagrams in a single call."
1212 msgstr ""
1213 "Consultez B<recvmmsg>(2) pour plus d'informations au sujet d'un appel "
1214 "système propre à Linux, utilisé pour recevoir des datagrammes multiples avec "
1215 "un unique appel."
1216
1217 #. type: SH
1218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1220 #, no-wrap
1221 msgid "EXAMPLES"
1222 msgstr "EXEMPLES"
1223
1224 #. type: Plain text
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 msgid "An example of the use of B<recvfrom>() is shown in B<getaddrinfo>(3)."
1228 msgstr ""
1229 "Un exemple d'utilisation de B<recvfrom>() se trouve dans la page de manuel "
1230 "de B<getaddrinfo>(3)."
1231
1232 #. type: SH
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 #, no-wrap
1236 msgid "SEE ALSO"
1237 msgstr "VOIR AUSSI"
1238
1239 #. type: Plain text
1240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1242 msgid ""
1243 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1244 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1245 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1246 msgstr ""
1247 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1248 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1249 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1250
1251 #. type: TH
1252 #: debian-trixie
1253 #, no-wrap
1254 msgid "2024-05-02"
1255 msgstr "2 mai 2024"
1256
1257 #. type: TH
1258 #: debian-trixie
1259 #, no-wrap
1260 msgid "Linux man-pages 6.9.1"
1261 msgstr "Pages du manuel de Linux 6.9.1"
1262
1263 #. type: Plain text
1264 #: debian-trixie
1265 msgid "Standard C library (I<libc>, I<-lc>)"
1266 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1267
1268 #. type: Plain text
1269 #: debian-trixie
1270 #, no-wrap
1271 msgid ""
1272 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1273 "B< int >I<flags>B<);>\n"
1274 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1275 "B< int >I<flags>B<,>\n"
1276 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1277 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1278 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1279 msgstr ""
1280 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1281 "B< int >I<flags>B<);>\n"
1282 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1283 "B< int >I<flags>B<,>\n"
1284 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1285 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1286 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1287
1288 #. type: Plain text
1289 #: debian-trixie
1290 #, no-wrap
1291 msgid "recv(sockfd, buf, len, flags);\n"
1292 msgstr "recv(sockfd, buf, len, flags);\n"
1293
1294 #. type: Plain text
1295 #: debian-trixie
1296 #, no-wrap
1297 msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1298 msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1299
1300 #. type: Plain text
1301 #: debian-trixie
1302 msgid ""
1303 "All three calls return the length of the message on successful completion. "
1304 "If a message is too long to fit in the supplied buffer, excess bytes may be "
1305 "discarded depending on the type of socket the message is received from."
1306 msgstr ""
1307 "Ces trois appels renvoient la longueur du message s'ils réussissent. Si un "
1308 "message est trop long pour tenir dans le tampon, les octets supplémentaires "
1309 "peuvent être abandonnés suivant le type de socket utilisé."
1310
1311 #. type: Plain text
1312 #: debian-trixie fedora-44 fedora-rawhide
1313 msgid ""
1314 "Enables nonblocking operation; if the operation would block, the call fails "
1315 "with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior "
1316 "to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> "
1317 "operation), but differs in that B<MSG_DONTWAIT> is a per-call option, "
1318 "whereas B<O_NONBLOCK> is a setting on the open file description (see "
1319 "B<open>(2)), which will affect all threads in the calling process as well as "
1320 "other processes that hold file descriptors referring to the same open file "
1321 "description."
1322 msgstr ""
1323 "Activer l'opération non bloquante ; si elle bloque, l'appel échoue avec "
1324 "l'erreur B<EAGAIN> ou B<EWOULDBLOCK>. Cela fournit un comportement identique "
1325 "à la définition de l'attribut B<O_NONBLOCK> (à l'aide de l'opération "
1326 "B<F_SETFL> de B<fcntl>(2)), sauf que B<MSG_DONTWAIT> est une option pour "
1327 "chaque appel tandis que B<O_NONBLOCK> est un paramètre sur la description du "
1328 "fichier ouvert (voir B<open>(2)), qui touchera tous les threads du processus "
1329 "appelant ainsi que d'autres processus détenant des descripteurs de fichier "
1330 "se rapportant à la même description de fichier ouvert."
1331
1332 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
1333 #. type: Plain text
1334 #: debian-trixie
1335 msgid ""
1336 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
1337 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
1338 "(since Linux 3.4) sockets: return the real length of the packet or datagram, "
1339 "even when it was longer than the passed buffer."
1340 msgstr ""
1341 "Pour les sockets bruts (B<AF_PACKET>), les sockets de datagrammes Internet "
1342 "(depuis Linux 2.4.27/2.6.8), de netlink (depuis Linux 2.6.22) et des "
1343 "datagrammes UNIX ainsi que pour ceux des paquets ordonnés (depuis "
1344 "Linux 3.4) : renvoyer la taille réelle du paquet ou datagramme, même quand "
1345 "il est plus grand que le tampon fourni."
1346
1347 #. type: Plain text
1348 #: debian-trixie
1349 msgid ""
1350 "B<recvfrom>() places the received message into the buffer I<buf>. The "
1351 "caller must specify the size of the buffer in I<len>."
1352 msgstr ""
1353 "B<recvfrom>() enregistre le message reçu dans le tampon I<buf>. Le processus "
1354 "appelant doit préciser la taille de ce tampon dans I<len>."
1355
1356 #. type: Plain text
1357 #: debian-trixie
1358 #, no-wrap
1359 msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1360 msgstr "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1361
1362 #. type: Plain text
1363 #: debian-trixie
1364 #, no-wrap
1365 msgid ""
1366 "struct msghdr {\n"
1367 " void *msg_name; /* Optional address */\n"
1368 " socklen_t msg_namelen; /* Size of address */\n"
1369 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1370 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1371 " void *msg_control; /* Ancillary data, see below */\n"
1372 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1373 " int msg_flags; /* Flags on received message */\n"
1374 "};\n"
1375 msgstr ""
1376 "struct msghdr {\n"
1377 " void *msg_name; /* Adresse optionnelle */\n"
1378 " socklen_t msg_namelen; /* Taille de l'adresse */\n"
1379 " struct iovec *msg_iov; /* Tableau scatter/gather */\n"
1380 " size_t msg_iovlen; /* Nb. d’éléments dans msg_iov */\n"
1381 " void *msg_control; /* Données annexes, voir ci\\(hydessous */\n"
1382 " size_t msg_controllen; /* Taille du tampon de données annexe */\n"
1383 " int msg_flags; /* Attributs du message reçu */\n"
1384 "};\n"
1385
1386 #. type: Plain text
1387 #: debian-trixie
1388 msgid ""
1389 "The I<msg_name> field points to a caller-allocated buffer that is used to "
1390 "return the source address if the socket is unconnected. The caller should "
1391 "set I<msg_namelen> to the size of this buffer before this call; upon return "
1392 "from a successful call, I<msg_namelen> will contain the length of the "
1393 "returned address. If the application does not need to know the source "
1394 "address, I<msg_name> can be specified as NULL."
1395 msgstr ""
1396 "Le champ I<msg_name> pointe vers un tampon alloué par l'appelant et qui est "
1397 "utilisé pour renvoyer l'adresse source lorsque le socket n'est pas connecté. "
1398 "L'appelant doit initialiser I<msg_namelen> avec la taille de ce tampon avant "
1399 "l'appel ; si l'appel s'exécute avec succès, I<msg_name> prend pour valeur la "
1400 "longueur de l'adresse renvoyée. Si l'application n'a pas besoin de connaître "
1401 "l'adresse source, on peut affecter la valeur NULL à I<msg_name>."
1402
1403 #. type: Plain text
1404 #: debian-trixie
1405 msgid ""
1406 "The field I<msg_control>, which has length I<msg_controllen>, points to a "
1407 "buffer for other protocol control-related messages or miscellaneous "
1408 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
1409 "contain the length of the available buffer in I<msg_control>; upon return "
1410 "from a successful call it will contain the length of the control message "
1411 "sequence."
1412 msgstr ""
1413 "Le champ I<msg_control>, de longueur I<msg_controllen>, pointe sur un tampon "
1414 "utilisé pour les autres messages du protocole relatifs au contrôle, ou à "
1415 "d'autres données annexes. Lorsqu'on invoque B<recvmsg>, I<msg_controllen> "
1416 "doit contenir la longueur du tampon disponible dans I<msg_control>\\ ; lors "
1417 "du retour d’un appel réussi,il contiendra la longueur de la séquence du "
1418 "message de contrôle."
1419
1420 #. type: Plain text
1421 #: debian-trixie fedora-44 fedora-rawhide
1422 msgid ""
1423 "indicates end-of-record; the data returned completed a record (generally "
1424 "used with sockets of type B<SOCK_SEQPACKET>)."
1425 msgstr ""
1426 "indique une fin d'enregistrement, les données reçues terminent un "
1427 "enregistrement (utilisé généralement avec les sockets du type "
1428 "B<SOCK_SEQPACKET>)."
1429
1430 #. type: Plain text
1431 #: debian-trixie
1432 msgid ""
1433 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
1434 "permit zero-length datagrams. When such a datagram is received, the return "
1435 "value is 0."
1436 msgstr ""
1437 "Les sockets de datagrammes autorisent des datagrammes de longueur nulle dans "
1438 "différents domaines (par exemple, les domaines UNIX et Internet). Lorsque de "
1439 "tels datagrammes sont reçus, la valeur renvoyée est B<0>."
1440
1441 #. type: Plain text
1442 #: debian-trixie fedora-44 fedora-rawhide
1443 msgid "POSIX.1-2008."
1444 msgstr "POSIX.1-2008."
1445
1446 #. type: Plain text
1447 #: debian-trixie fedora-44 fedora-rawhide
1448 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
1449 msgstr "POSIX.1-2001, 4.4BSD (apparu dans 4.2BSD)."
1450
1451 #. type: Plain text
1452 #: debian-trixie
1453 msgid ""
1454 "If a zero-length datagram is pending, B<read>(2) and B<recv>() with a "
1455 "I<flags> argument of zero provide different behavior. In this circumstance, "
1456 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1457 "consumes the pending datagram."
1458 msgstr ""
1459 "Si un datagramme de taille nulle est en attente, B<read>(2) et B<recv>() "
1460 "avec un paramètre I<flags> vide, donne un comportement différent. Dans ce "
1461 "cas, B<read>(2) n'a aucun effet (le datagramme reste en attente) alors que "
1462 "B<recv>() consomme le datagramme en attente."
1463
1464 #. type: TH
1465 #: fedora-44 fedora-rawhide
1466 #, no-wrap
1467 msgid "2024-11-17"
1468 msgstr "17 novembre 2024"
1469
1470 #. type: TH
1471 #: fedora-44 fedora-rawhide
1472 #, no-wrap
1473 msgid "Linux man-pages 6.13"
1474 msgstr "Pages du manuel de Linux 6.13"
1475
1476 #. type: Plain text
1477 #: fedora-44 fedora-rawhide
1478 #, no-wrap
1479 msgid ""
1480 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1481 "B< int >I<flags>B<);>\n"
1482 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1483 "B< int >I<flags>B<,>\n"
1484 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1485 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1486 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1487 msgstr ""
1488 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1489 "B< int >I<flags>B<);>\n"
1490 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1491 "B< int >I<flags>B<,>\n"
1492 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1493 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1494 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1495
1496 #. type: Plain text
1497 #: fedora-44 fedora-rawhide
1498 #, no-wrap
1499 msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1500 msgstr "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1501
1502 #. type: TH
1503 #: mageia-cauldron
1504 #, no-wrap
1505 msgid "Linux man-pages 6.17"
1506 msgstr "Pages du manuel de Linux 6.17"
1507
1508 #. type: TH
1509 #: opensuse-leap-16-1 opensuse-tumbleweed
1510 #, no-wrap
1511 msgid "Linux man-pages (unreleased)"
1512 msgstr "Pages du manuel de Linux (non publiées)"