Debian Codegraph @

po/fr/man2/bind.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]>, 2020-2024.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.21.0\n"
24 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
25 "PO-Revision-Date: 2024-09-11 10:33+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 "bind"
40 msgstr "bind"
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 "bind - bind a name to a socket"
66 msgstr "bind - Fournir un nom à 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-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<int bind(int >I<sockfd>B<, const struct sockaddr *>I<addr>B<,>\n"
101 "B< socklen_t >I<addrlen>B<);>\n"
102 msgstr ""
103 "B<int bind(int >I<sockfd>B<, const struct sockaddr *>I<addr>B<,>\n"
104 "B< socklen_t >I<addrlen>B<);>\n"
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "DESCRIPTION"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "When a socket is created with B<socket>(2), it exists in a name space "
118 "(address family) but has no address assigned to it. B<bind>() assigns the "
119 "address specified by I<addr> to the socket referred to by the file "
120 "descriptor I<sockfd>. I<addrlen> specifies the size, in bytes, of the "
121 "address structure pointed to by I<addr>. Traditionally, this operation is "
122 "called \\[lq]assigning a name to a socket\\[rq]."
123 msgstr ""
124 "Quand un socket est créé avec l'appel système B<socket>(2), elle existe dans "
125 "l'espace des noms (famille d'adresses) mais n'a pas d'adresse assignée. "
126 "B<bind>() affecte l'adresse indiquée dans I<addr> au socket référencé par le "
127 "descripteur de fichier I<sockfd>. I<addrlen> indique la taille, en octets, "
128 "de la structure d'adresse pointée par I<addr>. Traditionnellement cette "
129 "opération est appelée « affectation d'un nom à un socket »."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "It is normally necessary to assign a local address using B<bind>() before a "
136 "B<SOCK_STREAM> socket may receive connections (see B<accept>(2))."
137 msgstr ""
138 "Il est normalement nécessaire d'affecter une adresse locale avec B<bind>() "
139 "avant qu'un socket B<SOCK_STREAM> puisse recevoir des connexions (consultez "
140 "B<accept>(2))."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The rules used in name binding vary between address families. Consult the "
147 "manual entries in Section 7 for detailed information. For B<AF_INET>, see "
148 "B<ip>(7); for B<AF_INET6>, see B<ipv6>(7); for B<AF_UNIX>, see B<unix>(7); "
149 "for B<AF_APPLETALK>, see B<ddp>(7); for B<AF_PACKET>, see B<packet>(7); for "
150 "B<AF_X25>, see B<x25>(7); and for B<AF_NETLINK>, see B<netlink>(7)."
151 msgstr ""
152 "Les règles d'affectation de nom varient suivant les familles d'adresses. "
153 "Consultez les pages de manuel de la section 7 pour de plus amples "
154 "informations. Pour B<AF_INET> consultez B<ip>(7), pour B<AF_INET6> consultez "
155 "B<ipv6>(7), pour B<AF_UNIX> consultez B<unix>(7), pour B<AF_APPLETALK> "
156 "consultez B<ddp>(7), pour B<AF_PACKET> consultez B<packet>(7), pour "
157 "B<AF_X25> consultez B<x25>(7) et pour B<AF_NETLINK> consultez B<netlink>(7)."
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "The actual structure passed for the I<addr> argument will depend on the "
164 "address family. The I<sockaddr> structure is defined as something like:"
165 msgstr ""
166 "La structure réellement passée dans le paramètre I<addr> dépend du domaine "
167 "de communication. La structure I<sockaddr> est définie comme\\ :"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid ""
174 "struct sockaddr {\n"
175 " sa_family_t sa_family;\n"
176 " char sa_data[14];\n"
177 "}\n"
178 msgstr ""
179 "struct sockaddr {\n"
180 " sa_family_t sa_family;\n"
181 " char sa_data[14];\n"
182 "}\n"
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "The only purpose of this structure is to cast the structure pointer passed "
189 "in I<addr> in order to avoid compiler warnings. See EXAMPLES below."
190 msgstr ""
191 "Le seul objet de cette structure est de transtyper le pointeur passé dans "
192 "I<addr> pour éviter les avertissements du compilateur. Voir EXEMPLES ci-"
193 "dessous."
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "VALEUR RENVOYÉE"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
207 "to indicate the error."
208 msgstr ""
209 "En cas de succès, zéro est renvoyé. En cas d'erreur, B<-1> est renvoyé et "
210 "I<errno> est définie pour préciser l'erreur."
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "ERRORS"
217 msgstr "ERREURS"
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<EACCES>"
224 msgstr "B<EACCES>"
225
226 #. e.g., privileged port in AF_INET domain
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "The address is protected, and the user is not the superuser."
231 msgstr "L'adresse est protégée et l'utilisateur n'est pas le superutilisateur."
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<EADDRINUSE>"
238 msgstr "B<EADDRINUSE>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "The given address is already in use."
244 msgstr "L'adresse est déjà utilisée."
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "(Internet domain sockets) The port number was specified as zero in the "
251 "socket address structure, but, upon attempting to bind to an ephemeral port, "
252 "it was determined that all port numbers in the ephemeral port range are "
253 "currently in use. See the discussion of I</proc/sys/net/ipv4/"
254 "ip_local_port_range> B<ip>(7)."
255 msgstr ""
256 "(Socket Internet) le numéro de port a reçu la valeur zéro dans la structure "
257 "d'adresse de socket, mais lors d'une tentative d'attachement à un port "
258 "éphémère, aucun port n'était disponible dans l'intervalle des ports "
259 "éphémères. Consultez les explications concernant I</proc/sys/net/ipv4/"
260 "ip_local_port_range> dans B<ip>(7)."
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<EBADF>"
267 msgstr "B<EBADF>"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "I<sockfd> is not a valid file descriptor."
273 msgstr "I<sockfd> n'est pas un descripteur de fichier valable."
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<EINVAL>"
280 msgstr "B<EINVAL>"
281
282 #. This may change in the future: see
283 #. .I linux/unix/sock.c for details.
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid "The socket is already bound to an address."
288 msgstr "Le socket est déjà connecté."
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "I<addrlen> is wrong, or I<addr> is not a valid address for this socket's "
295 "domain."
296 msgstr ""
297 "I<addrlen> est faux ou I<addr> n'est pas une adresse valide pour le domaine "
298 "de ce socket."
299
300 #. type: TP
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<ENOTSOCK>"
305 msgstr "B<ENOTSOCK>"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid "The file descriptor I<sockfd> does not refer to a socket."
311 msgstr "Le descripteur de fichier I<sockfd> ne fait pas référence à un socket."
312
313 #. type: TP
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "B<EADDRNOTAVAIL>"
318 msgstr "B<EADDRNOTAVAIL>"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid ""
324 "A nonexistent interface was requested or the requested address was not local."
325 msgstr ""
326 "Une interface inexistante est demandée, ou bien l'adresse demandée n'est pas "
327 "locale."
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid "The following errors are specific to UNIX domain (B<AF_UNIX>) sockets:"
333 msgstr ""
334 "Les erreurs suivantes sont spécifiques aux sockets du domaine UNIX "
335 "(B<AF_UNIX>)\\ :"
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "Search permission is denied on a component of the path prefix. (See also "
342 "B<path_resolution>(7).)"
343 msgstr ""
344 "L'accès à un élément du chemin est interdit. (Voir aussi "
345 "B<path_resolution>(7).)"
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<EFAULT>"
352 msgstr "B<EFAULT>"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "I<addr> points outside the user's accessible address space."
358 msgstr "I<addr> pointe en dehors de l'espace d'adresse accessible."
359
360 #. type: TP
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "B<ELOOP>"
365 msgstr "B<ELOOP>"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid "Too many symbolic links were encountered in resolving I<addr>."
371 msgstr ""
372 "I<addr> contient des références circulaires (à travers un lien symbolique)."
373
374 #. type: TP
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<ENAMETOOLONG>"
379 msgstr "B<ENAMETOOLONG>"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid "I<addr> is too long."
385 msgstr "I<addr> est trop long."
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<ENOENT>"
392 msgstr "B<ENOENT>"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "A component in the directory prefix of the socket pathname does not exist."
399 msgstr ""
400 "Un composant du préfixe du répertoire du chemin de le socket n'existe pas."
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<ENOMEM>"
407 msgstr "B<ENOMEM>"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid "Insufficient kernel memory was available."
413 msgstr "La mémoire disponible du noyau n'était pas suffisante."
414
415 #. type: TP
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "B<ENOTDIR>"
420 msgstr "B<ENOTDIR>"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid "A component of the path prefix is not a directory."
426 msgstr "Un élément du chemin d'accès n'est pas un répertoire."
427
428 #. type: TP
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "B<EROFS>"
433 msgstr "B<EROFS>"
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid "The socket inode would reside on a read-only filesystem."
439 msgstr ""
440 "L'inœud du socket se trouverait dans un système de fichiers en lecture seule."
441
442 #. type: Plain text
443 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
444 #: opensuse-leap-16-1 opensuse-tumbleweed
445 msgid "Other errors may be generated by the underlying protocol modules."
446 msgstr ""
447 "Les modules de protocole sous-jacents peuvent générer d’autres erreurs."
448
449 #. type: SH
450 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
451 #: opensuse-tumbleweed
452 #, no-wrap
453 msgid "VERSIONS"
454 msgstr "VERSIONS"
455
456 #. type: Plain text
457 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
458 #: opensuse-tumbleweed
459 msgid ""
460 "Portable programs must ensure that I<addr.sun_path> is a null-terminated "
461 "string for B<AF_UNIX> sockets."
462 msgstr ""
463
464 #. type: SH
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "STANDARDS"
469 msgstr "NORMES"
470
471 #. type: Plain text
472 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
473 #: opensuse-tumbleweed
474 msgid "POSIX.1-2024."
475 msgstr "POSIX.1-2024."
476
477 #. type: SH
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "HISTORY"
482 msgstr "HISTORIQUE"
483
484 #. SVr4 documents an additional
485 #. .B ENOSR
486 #. general error condition, and
487 #. additional
488 #. .B EIO
489 #. and
490 #. .B EISDIR
491 #. UNIX-domain error conditions.
492 #. type: Plain text
493 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
494 #: opensuse-tumbleweed
495 msgid "POSIX.1-2001, SVr4, 4.2BSD."
496 msgstr "POSIX.1-2001, SVr4, 4.2BSD."
497
498 #. type: SH
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "BUGS"
503 msgstr "BOGUES"
504
505 #. FIXME Document transparent proxy options
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid "The transparent proxy options are not described."
510 msgstr "Les options de proxy transparent ne sont pas décrites."
511
512 #. type: SH
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "EXAMPLES"
517 msgstr "EXEMPLES"
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "An example of the use of B<bind>() with Internet domain sockets can be "
524 "found in B<getaddrinfo>(3)."
525 msgstr ""
526 "Un exemple d'utilisation de B<bind>() avec des sockets Internet se trouve "
527 "dans B<getaddrinfo>(3)."
528
529 #. listen.7 refers to this example.
530 #. accept.7 refers to this example.
531 #. unix.7 refers to this example.
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "The following example shows how to bind a stream socket in the UNIX "
537 "(B<AF_UNIX>) domain, and accept connections:"
538 msgstr ""
539 "L'exemple suivant montre comment affecter un nom à un socket du domaine UNIX "
540 "(B<AF_UNIX>) et accepter les connexions\\ :"
541
542 #. type: Plain text
543 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
544 #: opensuse-tumbleweed
545 #, fuzzy, no-wrap
546 #| msgid ""
547 #| "#include E<lt>stdio.hE<gt>\n"
548 #| "#include E<lt>stdlib.hE<gt>\n"
549 #| "#include E<lt>string.hE<gt>\n"
550 #| "#include E<lt>sys/socket.hE<gt>\n"
551 #| "#include E<lt>sys/un.hE<gt>\n"
552 #| "#include E<lt>unistd.hE<gt>\n"
553 #| "\\&\n"
554 #| "#define MY_SOCK_PATH \"/somepath\"\n"
555 #| "#define LISTEN_BACKLOG 50\n"
556 #| "\\&\n"
557 #| "#define handle_error(msg) \\e\n"
558 #| " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
559 #| "\\&\n"
560 #| "int\n"
561 #| "main(void)\n"
562 #| "{\n"
563 #| " int sfd, cfd;\n"
564 #| " socklen_t peer_addr_size;\n"
565 #| " struct sockaddr_un my_addr, peer_addr;\n"
566 #| "\\&\n"
567 #| " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
568 #| " if (sfd == -1)\n"
569 #| " handle_error(\"socket\");\n"
570 #| "\\&\n"
571 #| " memset(&my_addr, 0, sizeof(my_addr));\n"
572 #| " my_addr.sun_family = AF_UNIX;\n"
573 #| " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
574 #| " sizeof(my_addr.sun_path) - 1);\n"
575 #| "\\&\n"
576 #| " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
577 #| " sizeof(my_addr)) == -1)\n"
578 #| " handle_error(\"bind\");\n"
579 #| "\\&\n"
580 #| " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
581 #| " handle_error(\"listen\");\n"
582 #| "\\&\n"
583 #| " /* Now we can accept incoming connections one\n"
584 #| " at a time using accept(2). */\n"
585 #| "\\&\n"
586 #| " peer_addr_size = sizeof(peer_addr);\n"
587 #| " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
588 #| " &peer_addr_size);\n"
589 #| " if (cfd == -1)\n"
590 #| " handle_error(\"accept\");\n"
591 #| "\\&\n"
592 #| " /* Code to deal with incoming connection(s)... */\n"
593 #| "\\&\n"
594 #| " if (close(sfd) == -1)\n"
595 #| " handle_error(\"close\");\n"
596 #| "\\&\n"
597 #| " if (unlink(MY_SOCK_PATH) == -1)\n"
598 #| " handle_error(\"unlink\");\n"
599 #| "}\n"
600 msgid ""
601 "#include E<lt>err.hE<gt>\n"
602 "#include E<lt>stdlib.hE<gt>\n"
603 "#include E<lt>string.hE<gt>\n"
604 "#include E<lt>sys/socket.hE<gt>\n"
605 "#include E<lt>sys/un.hE<gt>\n"
606 "#include E<lt>unistd.hE<gt>\n"
607 "\\&\n"
608 "#define MY_SOCK_PATH \"/somepath\"\n"
609 "#define LISTEN_BACKLOG 50\n"
610 "\\&\n"
611 "int\n"
612 "main(void)\n"
613 "{\n"
614 " int sfd, cfd;\n"
615 " socklen_t peer_addr_size;\n"
616 " struct sockaddr_un my_addr, peer_addr;\n"
617 "\\&\n"
618 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
619 " if (sfd == -1)\n"
620 " err(EXIT_FAILURE, \"socket\");\n"
621 "\\&\n"
622 " memset(&my_addr, 0, sizeof(my_addr));\n"
623 " my_addr.sun_family = AF_UNIX;\n"
624 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
625 " sizeof(my_addr.sun_path) - 1);\n"
626 "\\&\n"
627 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
628 " sizeof(my_addr)) == -1)\n"
629 " err(EXIT_FAILURE, \"bind\");\n"
630 "\\&\n"
631 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
632 " err(EXIT_FAILURE, \"listen\");\n"
633 "\\&\n"
634 " /* Now we can accept incoming connections one\n"
635 " at a time using accept(2). */\n"
636 "\\&\n"
637 " peer_addr_size = sizeof(peer_addr);\n"
638 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
639 " &peer_addr_size);\n"
640 " if (cfd == -1)\n"
641 " err(EXIT_FAILURE, \"accept\");\n"
642 "\\&\n"
643 " /* Code to deal with incoming connection(s)... */\n"
644 "\\&\n"
645 " if (close(sfd) == -1)\n"
646 " err(EXIT_FAILURE, \"close\");\n"
647 "\\&\n"
648 " if (unlink(MY_SOCK_PATH) == -1)\n"
649 " err(EXIT_FAILURE, \"unlink\");\n"
650 "}\n"
651 msgstr ""
652 "#include E<lt>stdio.hE<gt>\n"
653 "#include E<lt>stdlib.hE<gt>\n"
654 "#include E<lt>string.hE<gt>\n"
655 "#include E<lt>sys/socket.hE<gt>\n"
656 "#include E<lt>sys/un.hE<gt>\n"
657 "#include E<lt>unistd.hE<gt>\n"
658 "\\&\n"
659 "#define MY_SOCK_PATH \"/un_chemin\"\n"
660 "#define LISTEN_BACKLOG 50\n"
661 "\\&\n"
662 "#define handle_error(msg) \\e\n"
663 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
664 "\\&\n"
665 "int\n"
666 "main(void)\n"
667 "{\n"
668 " int sfd, cfd;\n"
669 " socklen_t peer_addr_size;\n"
670 " struct sockaddr_un my_addr, peer_addr;\n"
671 "\\&\n"
672 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
673 " if (sfd == -1)\n"
674 " handle_error(\"socket\");\n"
675 "\\&\n"
676 " memset(&my_addr, 0, sizeof(my_addr));\n"
677 " my_addr.sun_family = AF_UNIX;\n"
678 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
679 " sizeof(my_addr.sun_path) - 1);\n"
680 "\\&\n"
681 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
682 " sizeof(my_addr)) == -1)\n"
683 " handle_error(\"bind\");\n"
684 "\\&\n"
685 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
686 " handle_error(\"listen\");\n"
687 "\\&\n"
688 " /* Nous pouvons maintenant accepter les connexions\n"
689 " entrantes une à la fois grâce à accept(2). */\n"
690 "\\&\n"
691 " peer_addr_size = sizeof(peer_addr);\n"
692 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
693 " &peer_addr_size);\n"
694 " if (cfd == -1)\n"
695 " handle_error(\"accept\");\n"
696 "\\&\n"
697 " /* Code gérant les connexions entrantes... */\n"
698 "\\&\n"
699 " if (close(sfd) == -1)\n"
700 " handle_error(\"close\");\n"
701 "\\&\n"
702 " if (unlink(MY_SOCK_PATH) == -1)\n"
703 " handle_error(\"unlink\");\n"
704 "}\n"
705
706 #. SRC END
707 #. type: SH
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "SEE ALSO"
712 msgstr "VOIR AUSSI"
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid ""
718 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
719 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
720 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
721 msgstr ""
722 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
723 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
724 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
725
726 #. type: TH
727 #: debian-trixie
728 #, no-wrap
729 msgid "2024-06-15"
730 msgstr "15 juin 2024"
731
732 #. type: TH
733 #: debian-trixie
734 #, no-wrap
735 msgid "Linux man-pages 6.9.1"
736 msgstr "Pages du manuel de Linux 6.9.1"
737
738 #. type: Plain text
739 #: debian-trixie
740 msgid "Standard C library (I<libc>, I<-lc>)"
741 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
742
743 #. type: Plain text
744 #: debian-trixie fedora-44 fedora-rawhide
745 msgid "POSIX.1-2008."
746 msgstr "POSIX.1-2008."
747
748 #. SVr4 documents an additional
749 #. .B ENOSR
750 #. general error condition, and
751 #. additional
752 #. .B EIO
753 #. and
754 #. .B EISDIR
755 #. UNIX-domain error conditions.
756 #. type: Plain text
757 #: debian-trixie fedora-44 fedora-rawhide
758 msgid "POSIX.1-2001, SVr4, 4.4BSD (B<bind>() first appeared in 4.2BSD)."
759 msgstr "POSIX.1-2001, SVr4, 4.4BSD (B<bind>() est apparu dans 4.2BSD)."
760
761 #. type: Plain text
762 #: debian-trixie fedora-44 fedora-rawhide
763 #, no-wrap
764 msgid ""
765 "#include E<lt>stdio.hE<gt>\n"
766 "#include E<lt>stdlib.hE<gt>\n"
767 "#include E<lt>string.hE<gt>\n"
768 "#include E<lt>sys/socket.hE<gt>\n"
769 "#include E<lt>sys/un.hE<gt>\n"
770 "#include E<lt>unistd.hE<gt>\n"
771 "\\&\n"
772 "#define MY_SOCK_PATH \"/somepath\"\n"
773 "#define LISTEN_BACKLOG 50\n"
774 "\\&\n"
775 "#define handle_error(msg) \\[rs]\n"
776 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
777 "\\&\n"
778 "int\n"
779 "main(void)\n"
780 "{\n"
781 " int sfd, cfd;\n"
782 " socklen_t peer_addr_size;\n"
783 " struct sockaddr_un my_addr, peer_addr;\n"
784 "\\&\n"
785 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
786 " if (sfd == -1)\n"
787 " handle_error(\"socket\");\n"
788 "\\&\n"
789 " memset(&my_addr, 0, sizeof(my_addr));\n"
790 " my_addr.sun_family = AF_UNIX;\n"
791 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
792 " sizeof(my_addr.sun_path) - 1);\n"
793 "\\&\n"
794 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
795 " sizeof(my_addr)) == -1)\n"
796 " handle_error(\"bind\");\n"
797 "\\&\n"
798 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
799 " handle_error(\"listen\");\n"
800 "\\&\n"
801 " /* Now we can accept incoming connections one\n"
802 " at a time using accept(2). */\n"
803 "\\&\n"
804 " peer_addr_size = sizeof(peer_addr);\n"
805 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
806 " &peer_addr_size);\n"
807 " if (cfd == -1)\n"
808 " handle_error(\"accept\");\n"
809 "\\&\n"
810 " /* Code to deal with incoming connection(s)... */\n"
811 "\\&\n"
812 " if (close(sfd) == -1)\n"
813 " handle_error(\"close\");\n"
814 "\\&\n"
815 " if (unlink(MY_SOCK_PATH) == -1)\n"
816 " handle_error(\"unlink\");\n"
817 "}\n"
818 msgstr ""
819 "#include E<lt>stdio.hE<gt>\n"
820 "#include E<lt>stdlib.hE<gt>\n"
821 "#include E<lt>string.hE<gt>\n"
822 "#include E<lt>sys/socket.hE<gt>\n"
823 "#include E<lt>sys/un.hE<gt>\n"
824 "#include E<lt>unistd.hE<gt>\n"
825 "\\&\n"
826 "#define MY_SOCK_PATH \"/un_chemin\"\n"
827 "#define LISTEN_BACKLOG 50\n"
828 "\\&\n"
829 "#define handle_error(msg) \\[rs]\n"
830 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
831 "\\&\n"
832 "int\n"
833 "main(void)\n"
834 "{\n"
835 " int sfd, cfd;\n"
836 " socklen_t peer_addr_size;\n"
837 " struct sockaddr_un my_addr, peer_addr;\n"
838 "\\&\n"
839 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
840 " if (sfd == -1)\n"
841 " handle_error(\"socket\");\n"
842 "\\&\n"
843 " memset(&my_addr, 0, sizeof(my_addr));\n"
844 " my_addr.sun_family = AF_UNIX;\n"
845 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
846 " sizeof(my_addr.sun_path) - 1);\n"
847 "\\&\n"
848 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
849 " sizeof(my_addr)) == -1)\n"
850 " handle_error(\"bind\");\n"
851 "\\&\n"
852 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
853 " handle_error(\"listen\");\n"
854 "\\&\n"
855 " /* Nous pouvons maintenant accepter les connexions\n"
856 " entrantes une à la fois grâce à accept(2). */\n"
857 "\\&\n"
858 " peer_addr_size = sizeof(peer_addr);\n"
859 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
860 " &peer_addr_size);\n"
861 " if (cfd == -1)\n"
862 " handle_error(\"accept\");\n"
863 "\\&\n"
864 " /* Code gérant les connexions entrantes... */\n"
865 "\\&\n"
866 " if (close(sfd) == -1)\n"
867 " handle_error(\"close\");\n"
868 "\\&\n"
869 " if (unlink(MY_SOCK_PATH) == -1)\n"
870 " handle_error(\"unlink\");\n"
871 "}\n"
872
873 #. type: TH
874 #: fedora-44 fedora-rawhide
875 #, no-wrap
876 msgid "2024-11-06"
877 msgstr "6 novembre 2024"
878
879 #. type: TH
880 #: fedora-44 fedora-rawhide
881 #, no-wrap
882 msgid "Linux man-pages 6.13"
883 msgstr "Pages du manuel de Linux 6.13"
884
885 #. type: TH
886 #: mageia-cauldron
887 #, no-wrap
888 msgid "Linux man-pages 6.17"
889 msgstr "Pages du manuel de Linux 6.17"
890
891 #. type: TH
892 #: opensuse-leap-16-1 opensuse-tumbleweed
893 #, no-wrap
894 msgid "Linux man-pages (unreleased)"
895 msgstr "Pages du manuel de Linux (non publiées)"