Debian Codegraph @

po/fr/man3/gethostbyname.3.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-2014.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Jean-Pierre Giraud <[email protected]>, 2023-2025.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.21.0\n"
22 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
23 "PO-Revision-Date: 2024-04-15 12:10+0200\n"
24 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "gethostbyname"
38 msgstr "gethostbyname"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid ""
64 "gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, "
65 "herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, "
66 "gethostbyname_r, gethostent_r - get network host entry"
67 msgstr ""
68 "gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, "
69 "herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, "
70 "gethostbyname_r, gethostent_r - Obtenir des informations concernant le réseau"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "LIBRARY"
77 msgstr "BIBLIOTHÈQUE"
78
79 #. type: Plain text
80 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
81 #: opensuse-leap-16-1 opensuse-tumbleweed
82 msgid "Standard C library (I<libc>,\\ I<-lc>)"
83 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
84
85 #. type: SH
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "SYNOPSIS"
90 msgstr "SYNOPSIS"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "B<#include E<lt>netdb.hE<gt>>\n"
97 msgstr "B<#include E<lt>netdb.hE<gt>>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<void sethostent(int >I<stayopen>B<);>\n"
105 "B<void endhostent(void);>\n"
106 msgstr ""
107 "B<void sethostent(int >I<stayopen>B<);>\n"
108 "B<void endhostent(void);>\n"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "B<[[deprecated]] extern int h_errno;>\n"
115 msgstr "B<[[obsolète]] extern int h_errno;>\n"
116
117 #. type: Plain text
118 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
119 #: opensuse-tumbleweed
120 #, fuzzy, no-wrap
121 #| msgid ""
122 #| "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
123 #| "B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
124 #| "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
125 msgid ""
126 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
127 "B<[[deprecated]] struct hostent *gethostbyaddr(>socklen_t size;\n"
128 "B< const void >I<addr>B<[>I<size>B<],>\n"
129 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
130 msgstr ""
131 "B<[[obsolète]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
132 "B<[[obsolète]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
133 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid ""
140 "B<[[deprecated]] void herror(const char *>I<s>B<);>\n"
141 "B<[[deprecated]] const char *hstrerror(int >I<err>B<);>\n"
142 msgstr ""
143 "B<[[obsolète]] void herror(const char *>I<s>B<);>\n"
144 "B<[[obsolète]] const char *hstrerror(int >I<err>B<);>\n"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid ""
151 "/* System V/POSIX extension */\n"
152 "B<struct hostent *gethostent(void);>\n"
153 msgstr ""
154 "/* Extension System V/POSIX */\n"
155 "B<struct hostent *gethostent(void);>\n"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid ""
162 "/* GNU extensions */\n"
163 "B<[[deprecated]]>\n"
164 "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n"
165 msgstr ""
166 "/* Extensions GNU */\n"
167 "B<[[obsolète]]>\n"
168 "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n"
169
170 #. type: Plain text
171 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
172 #: opensuse-tumbleweed
173 #, fuzzy, no-wrap
174 #| msgid ""
175 #| "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
176 #| "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
177 #| "B< struct hostent **restrict >I<result>B<,>\n"
178 #| "B< int *restrict >I<h_errnop>B<);>\n"
179 msgid ""
180 "B<int gethostent_r(>size_t bufsize;\n"
181 "B< struct hostent *restrict >I<ret>B<,>\n"
182 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
183 "B< struct hostent **restrict >I<result>B<,>\n"
184 "B< int *restrict >I<h_errnop>B<);>\n"
185 msgstr ""
186 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
187 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
188 "B< struct hostent **restrict >I<result>B<,>\n"
189 "B< int *restrict >I<h_errnop>B<);>\n"
190
191 #. type: Plain text
192 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
193 #: opensuse-tumbleweed
194 #, fuzzy, no-wrap
195 #| msgid ""
196 #| "B<[[deprecated]]>\n"
197 #| "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
198 #| "B< int >I<type>B<,>\n"
199 #| "B< struct hostent *restrict >I<ret>B<,>\n"
200 #| "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
201 #| "B< struct hostent **restrict >I<result>B<,>\n"
202 #| "B< int *restrict >I<h_errnop>B<);>\n"
203 #| "B<[[deprecated]]>\n"
204 #| "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
205 #| "B< struct hostent *restrict >I<ret>B<,>\n"
206 #| "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
207 #| "B< struct hostent **restrict >I<result>B<,>\n"
208 #| "B< int *restrict >I<h_errnop>B<);>\n"
209 #| "B<[[deprecated]]>\n"
210 #| "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
211 #| "B< struct hostent *restrict >I<ret>B<,>\n"
212 #| "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
213 #| "B< struct hostent **restrict >I<result>B<,>\n"
214 #| "B< int *restrict >I<h_errnop>B<);>\n"
215 msgid ""
216 "B<[[deprecated]]>\n"
217 "B<int gethostbyaddr_r(>socklen_t size, size_t bufsize;\n"
218 "B< const void >I<addr>B<[restrict >I<size>B<], socklen_t >I<size>B<,>\n"
219 "B< int >I<type>B<,>\n"
220 "B< struct hostent *restrict >I<ret>B<,>\n"
221 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
222 "B< struct hostent **restrict >I<result>B<,>\n"
223 "B< int *restrict >I<h_errnop>B<);>\n"
224 "B<[[deprecated]]>\n"
225 "B<int gethostbyname_r(>size_t bufsize;\n"
226 "B< const char *restrict >I<name>B<,>\n"
227 "B< struct hostent *restrict >I<ret>B<,>\n"
228 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
229 "B< struct hostent **restrict >I<result>B<,>\n"
230 "B< int *restrict >I<h_errnop>B<);>\n"
231 "B<[[deprecated]]>\n"
232 "B<int gethostbyname2_r(>size_t bufsize;\n"
233 "B< const char *restrict >I<name>B<, int >I<af,>\n"
234 "B< struct hostent *restrict >I<ret>B<,>\n"
235 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
236 "B< struct hostent **restrict >I<result>B<,>\n"
237 "B< int *restrict >I<h_errnop>B<);>\n"
238 msgstr ""
239 "B<[[obsolète]]>\n"
240 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
241 "B< int >I<type>B<,>\n"
242 "B< struct hostent *restrict >I<ret>B<,>\n"
243 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
244 "B< struct hostent **restrict >I<result>B<,>\n"
245 "B< int *restrict >I<h_errnop>B<);>\n"
246 "B<[[obsolète]]>\n"
247 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
248 "B< struct hostent *restrict >I<ret>B<,>\n"
249 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
250 "B< struct hostent **restrict >I<result>B<,>\n"
251 "B< int *restrict >I<h_errnop>B<);>\n"
252 "B<[[obsolète]]>\n"
253 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
254 "B< struct hostent *restrict >I<ret>B<,>\n"
255 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
256 "B< struct hostent **restrict >I<result>B<,>\n"
257 "B< int *restrict >I<h_errnop>B<);>\n"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
264 msgstr ""
265 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
266 "B<feature_test_macros>(7)) :"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), "
273 "B<gethostbyname_r>(), B<gethostbyname2_r>():"
274 msgstr ""
275 "B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), "
276 "B<gethostbyname_r>(), B<gethostbyname2_r>() :"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid ""
283 " Since glibc 2.19:\n"
284 " _DEFAULT_SOURCE\n"
285 " glibc up to and including 2.19:\n"
286 " _BSD_SOURCE || _SVID_SOURCE\n"
287 msgstr ""
288 " Depuis la glibc 2.19 :\n"
289 " _DEFAULT_SOURCE\n"
290 " glibc E<lt>= 2.19:\n"
291 " _BSD_SOURCE || _SVID_SOURCE\n"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "B<herror>(), B<hstrerror>():"
297 msgstr "B<herror>(), B<hstrerror>()\\ :"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid ""
304 " Since glibc 2.19:\n"
305 " _DEFAULT_SOURCE\n"
306 " glibc 2.8 to glibc 2.19:\n"
307 " _BSD_SOURCE || _SVID_SOURCE\n"
308 " Before glibc 2.8:\n"
309 " none\n"
310 msgstr ""
311 " Depuis la glibc 2.19 :\n"
312 " _DEFAULT_SOURCE\n"
313 " De la glibc 2.8 à la glibc 2.19 :\n"
314 " _BSD_SOURCE || _SVID_SOURCE\n"
315 " Avant la glibc 2.8 :\n"
316 " aucun\n"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "B<h_errno>:"
322 msgstr "B<h_errno> :"
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 #, no-wrap
328 msgid ""
329 " Since glibc 2.19\n"
330 " _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
331 " glibc 2.12 to glibc 2.19:\n"
332 " _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
333 " Before glibc 2.12:\n"
334 " none\n"
335 msgstr ""
336 " Depuis la glibc 2.19 :\n"
337 " _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
338 " De la glibc 2.12 à la glibc 2.19 :\n"
339 " _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
340 " Avant la glibc 2.12 :\n"
341 " aucun\n"
342
343 #. type: SH
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "DESCRIPTION"
348 msgstr "DESCRIPTION"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "The B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>(), and "
355 "B<hstrerror>() functions are obsolete. Applications should use "
356 "B<getaddrinfo>(3), B<getnameinfo>(3), and B<gai_strerror>(3) instead."
357 msgstr ""
358 "B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>() et B<hstrerror>() sont "
359 "déconseillées. Les applications devraient utiliser B<getaddrinfo>(3), "
360 "B<getnameinfo>(3) et B<gai_strerror>(3) à la place."
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "The B<sethostent>() function specifies, if I<stayopen> is true (1), that a "
367 "connected TCP socket should be used for the name server queries and that the "
368 "connection should remain open during successive queries. Otherwise, name "
369 "server queries will use UDP datagrams."
370 msgstr ""
371 "La fonction B<sethostent>() indique, si I<stayopen> est vrai (vaut 1), qu'un "
372 "socket TCP connecté doit être utilisé pour interroger le serveur de noms et "
373 "que la connexion doit rester ouverte durant les demandes successives. Sinon "
374 "l'interrogation utilisera des datagrammes UDP."
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "The B<endhostent>() function ends the use of a TCP connection for name "
381 "server queries."
382 msgstr ""
383 "La fonction B<endhostent>() ferme le socket TCP connecté utilisé pour "
384 "interroger le serveur de noms."
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "The B<gethostbyname>() function returns a structure of type I<hostent> for "
391 "the given host I<name>. Here I<name> is either a hostname or an IPv4 "
392 "address in standard dot notation (as for B<inet_addr>(3)). If I<name> is an "
393 "IPv4 address, no lookup is performed and B<gethostbyname>() simply copies "
394 "I<name> into the I<h_name> field and its I<struct in_addr> equivalent into "
395 "the I<h_addr_list[0]> field of the returned I<hostent> structure. If "
396 "I<name> doesn't end in a dot and the environment variable B<HOSTALIASES> is "
397 "set, the alias file pointed to by B<HOSTALIASES> will first be searched for "
398 "I<name> (see B<hostname>(7) for the file format). The current domain and "
399 "its parents are searched unless I<name> ends in a dot."
400 msgstr ""
401 "La fonction B<gethostbyname>() renvoie une structure de type I<hostent> pour "
402 "l'hôte I<name>. La chaîne I<name> est soit un nom d'hôte, soit une adresse "
403 "IPv4 en notation pointée standard (comme pour B<inet_addr>(3)). Si I<name> "
404 "est une adresse IPv4, aucune recherche supplémentaire n'a lieu et "
405 "B<gethostbyname>() copie simplement la chaîne I<name> dans le champ "
406 "I<h_name> et le champ équivalent I<struct in_addr> dans le champ "
407 "I<h_addr_list[0]> de la structure I<hostent> renvoyée. Si I<name> ne se "
408 "termine pas par un point et si la variable d'environnement B<HOSTALIASES> "
409 "est configurée, le fichier d'alias pointé par B<HOSTALIASES> sera d'abord "
410 "parcouru à la recherche de I<name> (consultez B<hostname>(7) pour le format "
411 "du fichier). Le domaine courant et ses parents sont parcourus à moins que "
412 "I<name> se termine par un point."
413
414 #. type: Plain text
415 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
416 #: opensuse-tumbleweed
417 #, fuzzy
418 #| msgid ""
419 #| "The B<gethostbyaddr>() function returns a structure of type I<hostent> "
420 #| "for the given host address I<addr> of size I<len> and address type "
421 #| "I<type>. Valid address types are B<AF_INET> and B<AF_INET6> (defined in "
422 #| "I<E<lt>sys/socket.hE<gt>>). The host address argument is a pointer to a "
423 #| "struct of a type depending on the address type, for example a I<struct "
424 #| "in_addr *> (probably obtained via a call to B<inet_addr>(3)) for address "
425 #| "type B<AF_INET>."
426 msgid ""
427 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
428 "the given host address I<addr> of size I<size> and address type I<type>. "
429 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
430 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
431 "type depending on the address type, for example a I<struct\\ in_addr\\ *> "
432 "(probably obtained via a call to B<inet_addr>(3)) for address type "
433 "B<AF_INET>."
434 msgstr ""
435 "La fonction B<gethostbyaddr>() renvoie une structure du type I<hostent> pour "
436 "l'hôte d'adresse I<addr>. Cette adresse est de taille I<len> et du type "
437 "I<type>. Les types d'adresse valables sont B<AF_INET> et B<AF_INET6> "
438 "(définis dans I<E<lt>sys/socket.hE<gt>>). L'argument adresse de l'hôte est "
439 "un pointeur vers une structure de type dépendant du type de l'adresse, par "
440 "exemple I<struct in_addr *> (probablement obtenu à l’aide d’un appel à "
441 "B<inet_addr>(3)) pour une adresse de type B<AF_INET>."
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "The (obsolete) B<herror>() function prints the error message associated "
448 "with the current value of I<h_errno> on I<stderr>."
449 msgstr ""
450 "La fonction (obsolète) B<herror>() affiche le message d'erreur associé avec "
451 "la valeur courante de I<h_errno> sur la sortie standard I<stderr>."
452
453 #. type: Plain text
454 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
455 #: opensuse-tumbleweed
456 #, fuzzy
457 #| msgid ""
458 #| "The (obsolete) B<hstrerror>() function takes an error number (typically "
459 #| "I<h_errno>) and returns the corresponding message string."
460 msgid ""
461 "The (obsolete) B<hstrerror>() function takes an error number (typically "
462 "I<h_errno>) and returns the corresponding message string."
463 msgstr ""
464 "La fonction (obsolète) B<hstrerror>() reçoit un numéro d'erreur en argument "
465 "(typiquement I<h_errno>) et renvoie la chaîne de message d'erreur."
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "The domain name queries carried out by B<gethostbyname>() and "
472 "B<gethostbyaddr>() rely on the Name Service Switch (B<nsswitch.conf>(5)) "
473 "configured sources or a local name server (B<named>(8)). The default action "
474 "is to query the Name Service Switch (B<nsswitch.conf>(5)) configured "
475 "sources, failing that, a local name server (B<named>(8))."
476 msgstr ""
477 "Les recherches de noms de domaine effectuées par B<gethostbyname>() et "
478 "B<gethostbyaddr>() dépendent des sources configurées de service de noms "
479 "(Name Service Switch — B<nsswitch.conf>(5)) ou d'un serveur de noms local "
480 "(B<named>(8)). L'action par défaut est de chercher dans les sources du "
481 "service de noms configuré (B<nsswitch.conf>(5), et en cas d'échec, dans un "
482 "serveur de noms local (B<named>(8))."
483
484 #. type: SS
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "Historical"
489 msgstr "Historique"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "The B<nsswitch.conf>(5) file is the modern way of controlling the order of "
496 "host lookups."
497 msgstr ""
498 "Le fichier B<nsswitch.conf>(5) est un moyen moderne pour contrôler l'ordre "
499 "des recherches d'hôte."
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid ""
505 "In glibc 2.4 and earlier, the I<order> keyword was used to control the order "
506 "of host lookups as defined in I</etc/host.conf> (B<host.conf>(5))."
507 msgstr ""
508 "Dans la glibc 2.4 et antérieure, le mot clé I<order> était utilisé pour "
509 "contrôler l'ordre des recherches d'hôte comme il est défini dans I</etc/"
510 "host.conf> (B<host.conf>(5))."
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid "The I<hostent> structure is defined in I<E<lt>netdb.hE<gt>> as follows:"
516 msgstr ""
517 "La structure I<hostent> est définie ainsi dans I<E<lt>netdb.hE<gt>>\\ :"
518
519 #. type: Plain text
520 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
521 #: opensuse-leap-16-1 opensuse-tumbleweed
522 #, no-wrap
523 msgid ""
524 "struct hostent {\n"
525 " char *h_name; /* official name of host */\n"
526 " char **h_aliases; /* alias list */\n"
527 " int h_addrtype; /* host address type */\n"
528 " int h_length; /* size of address */\n"
529 " char **h_addr_list; /* list of addresses */\n"
530 "}\n"
531 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
532 msgstr ""
533 "struct hostent {\n"
534 " char *h_name; /* Nom officiel de l'hôte */\n"
535 " char **h_aliases; /* Liste d'alias */\n"
536 " int h_addrtype; /* Type d'adresse de l'hôte */\n"
537 " int h_length; /* Taille de l'adresse */\n"
538 " char **h_addr_list; /* Liste d'adresses */\n"
539 "}\n"
540 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "The members of the I<hostent> structure are:"
546 msgstr "Les membres de la structure I<hostent> sont\\ :"
547
548 #. type: TP
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, no-wrap
552 msgid "I<h_name>"
553 msgstr "I<h_name>"
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid "The official name of the host."
559 msgstr "Nom officiel de l'hôte."
560
561 #. type: TP
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "I<h_aliases>"
566 msgstr "I<h_aliases>"
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid ""
572 "An array of alternative names for the host, terminated by a null pointer."
573 msgstr ""
574 "Un tableau, terminé par un pointeur NULL, d'alternatives au nom officiel de "
575 "l'hôte."
576
577 #. type: TP
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "I<h_addrtype>"
582 msgstr "I<h_addrtype>"
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid "The type of address; always B<AF_INET> or B<AF_INET6> at present."
588 msgstr "Le type d'adresse\\ : actuellement toujours B<AF_INET> ou B<AF_INET6>."
589
590 #. type: TP
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 #, no-wrap
594 msgid "I<h_length>"
595 msgstr "I<h_length>"
596
597 #. type: Plain text
598 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
599 #: opensuse-leap-16-1 opensuse-tumbleweed
600 msgid "The size of the address in bytes."
601 msgstr "La taille, en octets, de l'adresse."
602
603 #. type: TP
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "I<h_addr_list>"
608 msgstr "I<h_addr_list>"
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid ""
614 "An array of pointers to network addresses for the host (in network byte "
615 "order), terminated by a null pointer."
616 msgstr ""
617 "Un tableau, terminé par un pointeur NULL, d'adresses réseau pour l'hôte, "
618 "avec l'ordre des octets du réseau."
619
620 #. type: TP
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "I<h_addr>"
625 msgstr "I<h_addr>"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid "The first address in I<h_addr_list> for backward compatibility."
631 msgstr ""
632 "La première adresse dans I<h_addr_list> pour respecter la compatibilité "
633 "ascendante."
634
635 #. type: SH
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "RETURN VALUE"
640 msgstr "VALEUR RENVOYÉE"
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid ""
646 "The B<gethostbyname>() and B<gethostbyaddr>() functions return the "
647 "I<hostent> structure or a null pointer if an error occurs. On error, the "
648 "I<h_errno> variable holds an error number. When non-NULL, the return value "
649 "may point at static data, see the notes below."
650 msgstr ""
651 "Les fonctions B<gethostbyname>() et B<gethostbyaddr>() renvoient un pointeur "
652 "vers la structure I<hostent>, ou un pointeur NULL si une erreur se produit, "
653 "auquel cas I<h_errno> contient le code d'erreur. Lorsqu'elle n'est pas NULL, "
654 "la valeur de retour peut pointer sur une donnée statique. Consultez les "
655 "notes plus loin."
656
657 #. type: SH
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "ERRORS"
662 msgstr "ERREURS"
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid "The variable I<h_errno> can have the following values:"
668 msgstr "La variable I<h_errno> peut prendre les valeurs suivantes\\ :"
669
670 #. type: TP
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "B<HOST_NOT_FOUND>"
675 msgstr "B<HOST_NOT_FOUND>"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid "The specified host is unknown."
681 msgstr "L'hôte indiqué est inconnu."
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<NO_DATA>"
688 msgstr "B<NO_DATA>"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "The requested name is valid but does not have an IP address. Another type "
695 "of request to the name server for this domain may return an answer. The "
696 "constant B<NO_ADDRESS> is a synonym for B<NO_DATA>."
697 msgstr ""
698 "Le nom de la requête est valable, mais ne possède pas d'adresse IP. Un autre "
699 "type de requête au serveur de noms pour ce domaine peut renvoyer une "
700 "réponse. La constante B<NO_ADDRESS> est un synonyme de B<NO_DATA>."
701
702 #. type: TP
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 #, no-wrap
706 msgid "B<NO_RECOVERY>"
707 msgstr "B<NO_RECOVERY>"
708
709 #. type: Plain text
710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
712 msgid "A nonrecoverable name server error occurred."
713 msgstr "Une erreur fatale du serveur de noms est survenue."
714
715 #. type: TP
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, no-wrap
719 msgid "B<TRY_AGAIN>"
720 msgstr "B<TRY_AGAIN>"
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid ""
726 "A temporary error occurred on an authoritative name server. Try again later."
727 msgstr ""
728 "Une erreur temporaire d'un serveur de noms faisant autorité est survenue, "
729 "essayez un peu plus tard."
730
731 #. type: SH
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 #, no-wrap
735 msgid "FILES"
736 msgstr "FICHIERS"
737
738 #. type: TP
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 #, no-wrap
742 msgid "I</etc/host.conf>"
743 msgstr "I</etc/host.conf>"
744
745 #. type: Plain text
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 msgid "resolver configuration file"
749 msgstr "fichier de configuration de resolver (résolution de noms)"
750
751 #. type: TP
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "I</etc/hosts>"
756 msgstr "I</etc/hosts>"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid "host database file"
762 msgstr "Base de données des hôtes."
763
764 #. type: TP
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 #, no-wrap
768 msgid "I</etc/nsswitch.conf>"
769 msgstr "I</etc/nsswitch.conf>"
770
771 #. type: Plain text
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 msgid "name service switch configuration"
775 msgstr "Configuration du service de noms."
776
777 #. type: SH
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "ATTRIBUTES"
782 msgstr "ATTRIBUTS"
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid ""
788 "For an explanation of the terms used in this section, see B<attributes>(7)."
789 msgstr ""
790 "Pour une explication des termes utilisés dans cette section, consulter "
791 "B<attributes>(7)."
792
793 #. type: tbl table
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, no-wrap
797 msgid "Interface"
798 msgstr "Interface"
799
800 #. type: tbl table
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 #, no-wrap
804 msgid "Attribute"
805 msgstr "Attribut"
806
807 #. type: tbl table
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 #, no-wrap
811 msgid "Value"
812 msgstr "Valeur"
813
814 #. type: tbl table
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 #, no-wrap
818 msgid ".na\n"
819 msgstr ".na\n"
820
821 #. type: tbl table
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 #, no-wrap
825 msgid ".nh\n"
826 msgstr ".nh\n"
827
828 #. type: TP
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 #, no-wrap
832 msgid "B<gethostbyname>()"
833 msgstr "B<gethostbyname>()"
834
835 #. type: tbl table
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "Thread safety"
840 msgstr "Sécurité des threads"
841
842 #. type: tbl table
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 #, no-wrap
846 msgid ""
847 "MT-Unsafe race:hostbyname env\n"
848 "locale"
849 msgstr ""
850 "MT-Unsafe race:hostbyname env\n"
851 "locale"
852
853 #. type: TQ
854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
856 #, no-wrap
857 msgid "B<gethostbyaddr>()"
858 msgstr "B<gethostbyaddr>()"
859
860 #. type: tbl table
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 #, no-wrap
864 msgid ""
865 "MT-Unsafe race:hostbyaddr env\n"
866 "locale"
867 msgstr ""
868 "MT-Unsafe race:hostbyaddr env\n"
869 "locale"
870
871 #. type: tbl table
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 #, no-wrap
875 msgid ""
876 "B<sethostent>(),\n"
877 "B<endhostent>(),\n"
878 "B<gethostent_r>()"
879 msgstr ""
880 "B<sethostent>(),\n"
881 "B<endhostent>(),\n"
882 "B<gethostent_r>()"
883
884 #. type: tbl table
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid ""
889 "MT-Unsafe race:hostent env\n"
890 "locale"
891 msgstr ""
892 "MT-Unsafe race:hostent env\n"
893 "locale"
894
895 #. type: tbl table
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid ""
900 "B<herror>(),\n"
901 "B<hstrerror>()"
902 msgstr ""
903 "B<herror>(),\n"
904 "B<hstrerror>()"
905
906 #. type: tbl table
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 #, no-wrap
910 msgid "MT-Safe"
911 msgstr "MT-Safe"
912
913 #. type: TQ
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 #, no-wrap
917 msgid "B<gethostent>()"
918 msgstr "B<gethostent>()"
919
920 #. type: tbl table
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 #, no-wrap
924 msgid ""
925 "MT-Unsafe race:hostent\n"
926 "race:hostentbuf env locale"
927 msgstr ""
928 "MT-Unsafe race:hostent\n"
929 "race:hostentbuf env locale"
930
931 #. type: tbl table
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 #, no-wrap
935 msgid "B<gethostbyname2>()"
936 msgstr "B<gethostbyname2>()"
937
938 #. type: tbl table
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, no-wrap
942 msgid ""
943 "MT-Unsafe race:hostbyname2\n"
944 "env locale"
945 msgstr ""
946 "MT-Unsafe race:hostbyname2\n"
947 "env locale"
948
949 #. type: tbl table
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 #, no-wrap
953 msgid ""
954 "B<gethostbyaddr_r>(),\n"
955 "B<gethostbyname_r>(),\n"
956 "B<gethostbyname2_r>()"
957 msgstr ""
958 "B<gethostbyaddr_r>(),\n"
959 "B<gethostbyname_r>(),\n"
960 "B<gethostbyname2_r>()"
961
962 #. type: tbl table
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "MT-Safe env locale"
967 msgstr "MT-Safe env locale"
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 "In the above table, I<hostent> in I<race:hostent> signifies that if any of "
974 "the functions B<sethostent>(), B<gethostent>(), B<gethostent_r>(), or B<\\"
975 "%endhostent>() are used in parallel in different threads of a program, then "
976 "data races could occur."
977 msgstr ""
978 "Dans la table ci-dessus, I<hostent> dans I<race:hostent> signifie que si une "
979 "des fonctions B<sethostent>(), B<gethostent>(), B<gethostent_r>() ou "
980 "B<endhostent>() est utilisée en parallèle dans différents threads d'un "
981 "programme, des situations de concurrence de données peuvent se produire."
982
983 #. type: SH
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 #, no-wrap
987 msgid "STANDARDS"
988 msgstr "NORMES"
989
990 #. type: TP
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "B<sethostent>()"
995 msgstr "B<sethostent>()"
996
997 #. type: TQ
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 #, no-wrap
1001 msgid "B<endhostent>()"
1002 msgstr "B<endhostent>()"
1003
1004 #. type: Plain text
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 msgid "POSIX.1-2008."
1008 msgstr "POSIX.1-2008."
1009
1010 #. type: TP
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 #, no-wrap
1014 msgid "B<gethostent_r>()"
1015 msgstr "B<gethostent_r>()"
1016
1017 #. type: Plain text
1018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1020 msgid "GNU."
1021 msgstr "GNU."
1022
1023 #. type: TP
1024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1026 #, no-wrap
1027 msgid "Others:"
1028 msgstr "Autres :"
1029
1030 #. type: Plain text
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 msgid "None."
1034 msgstr "Aucune"
1035
1036 #. type: SH
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 #, no-wrap
1040 msgid "HISTORY"
1041 msgstr "HISTORIQUE"
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 "POSIX.1-2001."
1047 msgstr "POSIX.1-2001."
1048
1049 #. type: TQ
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 #, no-wrap
1053 msgid "I<h_errno>"
1054 msgstr "I<h_errno>"
1055
1056 #. type: Plain text
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 msgid ""
1060 "Marked obsolescent in POSIX.1-2001. Removed in POSIX.1-2008, recommending "
1061 "the use of B<getaddrinfo>(3) and B<getnameinfo>(3) instead."
1062 msgstr ""
1063 "Marquée comme obsolète dans POSIX.1-2001. Retirée dans POSIX.1-2008 qui "
1064 "recommande l'utilisation de B<getaddrinfo>(3) et B<getnameinfo>(3) à la "
1065 "place."
1066
1067 #. type: SH
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 #, no-wrap
1071 msgid "NOTES"
1072 msgstr "NOTES"
1073
1074 #. type: Plain text
1075 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1076 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1077 msgid ""
1078 "The functions B<gethostbyname>() and B<gethostbyaddr>() may return "
1079 "pointers to static data, which may be overwritten by later calls. Copying "
1080 "the I<struct hostent> does not suffice, since it contains pointers; a deep "
1081 "copy is required."
1082 msgstr ""
1083 "Les fonctions B<gethostbyname>() et B<gethostbyaddr>() peuvent renvoyer des "
1084 "pointeurs sur des données statiques susceptibles d'être écrasées d'un appel "
1085 "à l'autre. Copier la structure I<struct hostent> ne suffit pas car elle "
1086 "contient elle-même des pointeurs. Une copie en profondeur est indispensable."
1087
1088 #. type: Plain text
1089 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1090 #: opensuse-leap-16-1 opensuse-tumbleweed
1091 msgid ""
1092 "In the original BSD implementation the I<size> argument of "
1093 "B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares "
1094 "the I<size> argument of B<gethostbyaddr>() to be of type I<size_t>. (That "
1095 "is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 "
1096 "makes it I<socklen_t>, which is OK.) See also B<accept>(2)."
1097 msgstr ""
1098 "Dans l'implémentation BSD originale, l'argument I<size> de "
1099 "B<gethostbyname>() était un I<int>. Les spécifications SUS-v2 sont "
1100 "défectueuses et déclarent le paramètre I<size> de B<gethostbyaddr>() comme "
1101 "étant de type I<size_t> (c’est erroné car il doit obligatoirement être un "
1102 "I<int>, ce que I<size_t> n'est pas toujours. POSIX.1-2001 le déclare "
1103 "I<socklen_t>, ce qui est correct). Consultez également B<accept>(2)."
1104
1105 #. type: Plain text
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 msgid ""
1109 "The BSD prototype for B<gethostbyaddr>() uses I<const char\\ *> for the "
1110 "first argument."
1111 msgstr ""
1112 "Le prototype BSD pour B<gethostbyaddr>() utilise I<const char\\ *> comme "
1113 "premier argument."
1114
1115 #. type: SS
1116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1118 #, no-wrap
1119 msgid "System V/POSIX extension"
1120 msgstr "Extension System V/POSIX"
1121
1122 #. e.g., Linux, FreeBSD, UnixWare, HP-UX
1123 #. e.g., FreeBSD, AIX
1124 #. type: Plain text
1125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1127 msgid ""
1128 "POSIX requires the B<gethostent>() call, which should return the next entry "
1129 "in the host data base. When using DNS/BIND this does not make much sense, "
1130 "but it may be reasonable if the host data base is a file that can be read "
1131 "line by line. On many systems, a routine of this name reads from the file "
1132 "I</etc/hosts>. It may be available only when the library was built without "
1133 "DNS support. The glibc version will ignore ipv6 entries. This function is "
1134 "not reentrant, and glibc adds a reentrant version B<gethostent_r>()."
1135 msgstr ""
1136 "POSIX réclame l'appel B<gethostent>(), qui devrait renvoyer la prochaine "
1137 "entrée de la base de données des hôtes. Avec DNS/BIND, cela n'a pas plus de "
1138 "sens, mais cela peut être raisonnable si la base de données des hôtes est un "
1139 "fichier qui peut être lu ligne par ligne. Sur beaucoup de systèmes, une "
1140 "routine de ce nom lit le fichier I</etc/hosts>. Elle n'est disponible que "
1141 "lorsque la bibliothèque est construite sans la gestion DNS. L'équivalent de "
1142 "la glibc ignore les entrées IPv6. Cette fonction n'est pas réentrante, mais "
1143 "la glibc propose une version réentrante, B<gethostent_r>()."
1144
1145 #. type: SS
1146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1148 #, no-wrap
1149 msgid "GNU extensions"
1150 msgstr "Extensions GNU"
1151
1152 #. type: Plain text
1153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1155 msgid ""
1156 "glibc2 also has a B<gethostbyname2>() that works like B<gethostbyname>(), "
1157 "but permits to specify the address family to which the address must belong."
1158 msgstr ""
1159 "La glibc2 propose aussi une fonction B<gethostbyname2>() qui agit comme "
1160 "B<gethostbyname>(), qui permet de préciser la famille à laquelle l'adresse "
1161 "doit appartenir."
1162
1163 #. type: Plain text
1164 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1165 #: opensuse-leap-16-1 opensuse-tumbleweed
1166 msgid ""
1167 "glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), "
1168 "B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a "
1169 "I<hostent> structure I<ret> which will be filled in on success, and a "
1170 "temporary work buffer I<buf> of size I<bufsize>. After the call, I<result> "
1171 "will point to the result on success. In case of an error or if no entry is "
1172 "found I<result> will be NULL. The functions return 0 on success and a "
1173 "nonzero error number on failure. In addition to the errors returned by the "
1174 "nonreentrant versions of these functions, if I<buf> is too small, the "
1175 "functions will return B<ERANGE>, and the call should be retried with a "
1176 "larger buffer. The global variable I<h_errno> is not modified, but the "
1177 "address of a variable in which to store error numbers is passed in "
1178 "I<h_errnop>."
1179 msgstr ""
1180 "La glibc2 propose aussi les versions réentrantes B<gethostent_r>(), "
1181 "B<gethostbyaddr_r>(), B<gethostbyname_r>() et B<gethostbyname2_r>(). "
1182 "L'appelant fournit une structure I<hostent> à l’aide de I<ret> qui sera "
1183 "remplie en cas de succès et un tampon de travail temporaire I<buf> de taille "
1184 "I<bufsize>. Après l'appel, I<result> pointera vers le résultat en cas de "
1185 "succès. En cas d'erreur ou si aucune entrée n'a été trouvée, I<result> "
1186 "vaudra NULL Les fonctions renvoient B<0> en cas de succès et une valeur non "
1187 "nulle en cas d'erreur. En plus des erreurs renvoyées par ces fonctions "
1188 "réentrantes, si I<buf> est trop petit, les fonctions renvoient B<ERANGE> et "
1189 "l'appel devra être effectué par la suite avec un tampon plus grand. La "
1190 "variable I<h_errno> n'est pas modifiée, mais l'adresse d'une variable où est "
1191 "stocké le code d'erreur est transmise dans I<h_errnop>."
1192
1193 #. type: SH
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 #, no-wrap
1197 msgid "BUGS"
1198 msgstr "BOGUES"
1199
1200 #. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973
1201 #. type: Plain text
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 msgid ""
1205 "B<gethostbyname>() does not recognize components of a dotted IPv4 address "
1206 "string that are expressed in hexadecimal."
1207 msgstr ""
1208 "B<gethostbyname>() ne reconnaît pas les éléments d'une adresse IPv4 en "
1209 "notation pointée si ces éléments sont exprimés en hexadécimal."
1210
1211 #. type: SH
1212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1214 #, no-wrap
1215 msgid "SEE ALSO"
1216 msgstr "VOIR AUSSI"
1217
1218 #. .BR getipnodebyaddr (3),
1219 #. .BR getipnodebyname (3),
1220 #. type: Plain text
1221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1223 msgid ""
1224 "B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), "
1225 "B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), "
1226 "B<hostname>(7), B<named>(8)"
1227 msgstr ""
1228 "B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), "
1229 "B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), "
1230 "B<hostname>(7), B<named>(8)"
1231
1232 #. type: TH
1233 #: debian-trixie
1234 #, no-wrap
1235 msgid "2024-05-02"
1236 msgstr "2 mai 2024"
1237
1238 #. type: TH
1239 #: debian-trixie
1240 #, no-wrap
1241 msgid "Linux man-pages 6.9.1"
1242 msgstr "Pages du manuel de Linux 6.9.1"
1243
1244 #. type: Plain text
1245 #: debian-trixie
1246 msgid "Standard C library (I<libc>, I<-lc>)"
1247 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1248
1249 #. type: Plain text
1250 #: debian-trixie
1251 #, no-wrap
1252 msgid ""
1253 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1254 "B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n"
1255 "B< socklen_t >I<len>B<, int >I<type>B<);>\n"
1256 msgstr ""
1257 "B<[[obsolète]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1258 "B<[[obsolète]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n"
1259 "B< socklen_t >I<len>B<, int >I<type>B<);>\n"
1260
1261 #. type: Plain text
1262 #: debian-trixie
1263 #, no-wrap
1264 msgid ""
1265 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1266 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1267 "B< struct hostent **restrict >I<result>B<,>\n"
1268 "B< int *restrict >I<h_errnop>B<);>\n"
1269 msgstr ""
1270 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1271 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1272 "B< struct hostent **restrict >I<result>B<,>\n"
1273 "B< int *restrict >I<h_errnop>B<);>\n"
1274
1275 #. type: Plain text
1276 #: debian-trixie
1277 #, no-wrap
1278 msgid ""
1279 "B<[[deprecated]]>\n"
1280 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n"
1281 "B< int >I<type>B<,>\n"
1282 "B< struct hostent *restrict >I<ret>B<,>\n"
1283 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1284 "B< struct hostent **restrict >I<result>B<,>\n"
1285 "B< int *restrict >I<h_errnop>B<);>\n"
1286 "B<[[deprecated]]>\n"
1287 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1288 "B< struct hostent *restrict >I<ret>B<,>\n"
1289 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1290 "B< struct hostent **restrict >I<result>B<,>\n"
1291 "B< int *restrict >I<h_errnop>B<);>\n"
1292 "B<[[deprecated]]>\n"
1293 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1294 "B< struct hostent *restrict >I<ret>B<,>\n"
1295 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1296 "B< struct hostent **restrict >I<result>B<,>\n"
1297 "B< int *restrict >I<h_errnop>B<);>\n"
1298 msgstr ""
1299 "B<[[obsolète]]>\n"
1300 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n"
1301 "B< int >I<type>B<,>\n"
1302 "B< struct hostent *restrict >I<ret>B<,>\n"
1303 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1304 "B< struct hostent **restrict >I<result>B<,>\n"
1305 "B< int *restrict >I<h_errnop>B<);>\n"
1306 "B<[[obsolète]]>\n"
1307 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1308 "B< struct hostent *restrict >I<ret>B<,>\n"
1309 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1310 "B< struct hostent **restrict >I<result>B<,>\n"
1311 "B< int *restrict >I<h_errnop>B<);>\n"
1312 "B<[[obsolète]]>\n"
1313 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1314 "B< struct hostent *restrict >I<ret>B<,>\n"
1315 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1316 "B< struct hostent **restrict >I<result>B<,>\n"
1317 "B< int *restrict >I<h_errnop>B<);>\n"
1318
1319 #. type: Plain text
1320 #: debian-trixie
1321 msgid ""
1322 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
1323 "the given host address I<addr> of length I<len> and address type I<type>. "
1324 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
1325 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
1326 "type depending on the address type, for example a I<struct in_addr *> "
1327 "(probably obtained via a call to B<inet_addr>(3)) for address type "
1328 "B<AF_INET>."
1329 msgstr ""
1330 "La fonction B<gethostbyaddr>() renvoie une structure du type I<hostent> pour "
1331 "l'hôte d'adresse I<addr>. Cette adresse est de longueur I<len> et du type "
1332 "I<type>. Les types d'adresse valables sont B<AF_INET> et B<AF_INET6> "
1333 "(définis dans I<E<lt>sys/socket.hE<gt>>). L'argument adresse de l'hôte est "
1334 "un pointeur vers une structure de type dépendant du type de l'adresse, par "
1335 "exemple I<struct in_addr *> (probablement obtenu à l’aide d’un appel à "
1336 "B<inet_addr>(3)) pour une adresse de type B<AF_INET>."
1337
1338 #. type: Plain text
1339 #: debian-trixie fedora-44 fedora-rawhide
1340 msgid ""
1341 "The (obsolete) B<hstrerror>() function takes an error number (typically "
1342 "I<h_errno>) and returns the corresponding message string."
1343 msgstr ""
1344 "La fonction (obsolète) B<hstrerror>() reçoit un numéro d'erreur en argument "
1345 "(typiquement I<h_errno>) et renvoie la chaîne de message d'erreur."
1346
1347 #. type: Plain text
1348 #: debian-trixie
1349 #, no-wrap
1350 msgid ""
1351 "struct hostent {\n"
1352 " char *h_name; /* official name of host */\n"
1353 " char **h_aliases; /* alias list */\n"
1354 " int h_addrtype; /* host address type */\n"
1355 " int h_length; /* length of address */\n"
1356 " char **h_addr_list; /* list of addresses */\n"
1357 "}\n"
1358 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
1359 msgstr ""
1360 "struct hostent {\n"
1361 " char *h_name; /* Nom officiel de l'hôte */\n"
1362 " char **h_aliases; /* Liste d'alias */\n"
1363 " int h_addrtype; /* Type d'adresse de l'hôte */\n"
1364 " int h_length; /* Longueur de l'adresse */\n"
1365 " char **h_addr_list; /* Liste d'adresses */\n"
1366 "}\n"
1367 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
1368
1369 #. type: Plain text
1370 #: debian-trixie
1371 msgid "The length of the address in bytes."
1372 msgstr "La longueur, en octets, de l'adresse."
1373
1374 #. type: Plain text
1375 #: debian-trixie
1376 msgid ""
1377 "In the original BSD implementation the I<len> argument of "
1378 "B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares "
1379 "the I<len> argument of B<gethostbyaddr>() to be of type I<size_t>. (That "
1380 "is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 "
1381 "makes it I<socklen_t>, which is OK.) See also B<accept>(2)."
1382 msgstr ""
1383 "Dans l'implémentation BSD originale, l'argument I<len> de B<gethostbyname>() "
1384 "était un I<int>. Les spécifications SUS-v2 sont défectueuses et déclarent le "
1385 "paramètre I<len> de B<gethostbyaddr>() comme étant de type I<size_t> (c’est "
1386 "erroné car il doit obligatoirement être un I<int>, ce que I<size_t> n'est "
1387 "pas toujours. POSIX.1-2001 le déclare I<socklen_t>, ce qui est correct). "
1388 "Consultez également B<accept>(2)."
1389
1390 #. type: Plain text
1391 #: debian-trixie
1392 msgid ""
1393 "glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), "
1394 "B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a "
1395 "I<hostent> structure I<ret> which will be filled in on success, and a "
1396 "temporary work buffer I<buf> of size I<buflen>. After the call, I<result> "
1397 "will point to the result on success. In case of an error or if no entry is "
1398 "found I<result> will be NULL. The functions return 0 on success and a "
1399 "nonzero error number on failure. In addition to the errors returned by the "
1400 "nonreentrant versions of these functions, if I<buf> is too small, the "
1401 "functions will return B<ERANGE>, and the call should be retried with a "
1402 "larger buffer. The global variable I<h_errno> is not modified, but the "
1403 "address of a variable in which to store error numbers is passed in "
1404 "I<h_errnop>."
1405 msgstr ""
1406 "La glibc2 propose aussi les versions réentrantes B<gethostent_r>(), "
1407 "B<gethostbyaddr_r>(), B<gethostbyname_r>() et B<gethostbyname2_r>(). "
1408 "L'appelant fournit une structure I<hostent> à l’aide de I<ret> qui sera "
1409 "remplie en cas de succès et un tampon de travail temporaire I<buf> de taille "
1410 "I<buflen>. Après l'appel, I<result> pointera vers le résultat en cas de "
1411 "succès. En cas d'erreur ou si aucune entrée n'a été trouvée, I<result> "
1412 "vaudra NULL Les fonctions renvoient B<0> en cas de succès et une valeur non "
1413 "nulle en cas d'erreur. En plus des erreurs renvoyées par ces fonctions "
1414 "réentrantes, si I<buf> est trop petit, les fonctions renvoient B<ERANGE> et "
1415 "l'appel devra être effectué par la suite avec un tampon plus grand. La "
1416 "variable I<h_errno> n'est pas modifiée, mais l'adresse d'une variable où est "
1417 "stocké le code d'erreur est transmise dans I<h_errnop>."
1418
1419 #. type: TH
1420 #: fedora-44 fedora-rawhide
1421 #, no-wrap
1422 msgid "2024-12-24"
1423 msgstr "24 décembre 2024"
1424
1425 #. type: TH
1426 #: fedora-44 fedora-rawhide
1427 #, no-wrap
1428 msgid "Linux man-pages 6.13"
1429 msgstr "Pages du manuel de Linux 6.13"
1430
1431 #. type: Plain text
1432 #: fedora-44 fedora-rawhide
1433 #, no-wrap
1434 msgid ""
1435 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1436 "B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
1437 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
1438 msgstr ""
1439 "B<[[obsolète]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1440 "B<[[obsolète]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
1441 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
1442
1443 #. type: Plain text
1444 #: fedora-44 fedora-rawhide
1445 #, no-wrap
1446 msgid ""
1447 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1448 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1449 "B< struct hostent **restrict >I<result>B<,>\n"
1450 "B< int *restrict >I<h_errnop>B<);>\n"
1451 msgstr ""
1452 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1453 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1454 "B< struct hostent **restrict >I<result>B<,>\n"
1455 "B< int *restrict >I<h_errnop>B<);>\n"
1456
1457 #. type: Plain text
1458 #: fedora-44 fedora-rawhide
1459 #, no-wrap
1460 msgid ""
1461 "B<[[deprecated]]>\n"
1462 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
1463 "B< int >I<type>B<,>\n"
1464 "B< struct hostent *restrict >I<ret>B<,>\n"
1465 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1466 "B< struct hostent **restrict >I<result>B<,>\n"
1467 "B< int *restrict >I<h_errnop>B<);>\n"
1468 "B<[[deprecated]]>\n"
1469 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1470 "B< struct hostent *restrict >I<ret>B<,>\n"
1471 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1472 "B< struct hostent **restrict >I<result>B<,>\n"
1473 "B< int *restrict >I<h_errnop>B<);>\n"
1474 "B<[[deprecated]]>\n"
1475 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1476 "B< struct hostent *restrict >I<ret>B<,>\n"
1477 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1478 "B< struct hostent **restrict >I<result>B<,>\n"
1479 "B< int *restrict >I<h_errnop>B<);>\n"
1480 msgstr ""
1481 "B<[[obsolète]]>\n"
1482 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
1483 "B< int >I<type>B<,>\n"
1484 "B< struct hostent *restrict >I<ret>B<,>\n"
1485 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1486 "B< struct hostent **restrict >I<result>B<,>\n"
1487 "B< int *restrict >I<h_errnop>B<);>\n"
1488 "B<[[obsolète]]>\n"
1489 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1490 "B< struct hostent *restrict >I<ret>B<,>\n"
1491 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1492 "B< struct hostent **restrict >I<result>B<,>\n"
1493 "B< int *restrict >I<h_errnop>B<);>\n"
1494 "B<[[obsolète]]>\n"
1495 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1496 "B< struct hostent *restrict >I<ret>B<,>\n"
1497 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1498 "B< struct hostent **restrict >I<result>B<,>\n"
1499 "B< int *restrict >I<h_errnop>B<);>\n"
1500
1501 #. type: Plain text
1502 #: fedora-44 fedora-rawhide
1503 msgid ""
1504 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
1505 "the given host address I<addr> of size I<len> and address type I<type>. "
1506 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
1507 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
1508 "type depending on the address type, for example a I<struct in_addr *> "
1509 "(probably obtained via a call to B<inet_addr>(3)) for address type "
1510 "B<AF_INET>."
1511 msgstr ""
1512 "La fonction B<gethostbyaddr>() renvoie une structure du type I<hostent> pour "
1513 "l'hôte d'adresse I<addr>. Cette adresse est de taille I<len> et du type "
1514 "I<type>. Les types d'adresse valables sont B<AF_INET> et B<AF_INET6> "
1515 "(définis dans I<E<lt>sys/socket.hE<gt>>). L'argument adresse de l'hôte est "
1516 "un pointeur vers une structure de type dépendant du type de l'adresse, par "
1517 "exemple I<struct in_addr *> (probablement obtenu à l’aide d’un appel à "
1518 "B<inet_addr>(3)) pour une adresse de type B<AF_INET>."
1519
1520 #. type: TH
1521 #: mageia-cauldron
1522 #, no-wrap
1523 msgid "Linux man-pages 6.17"
1524 msgstr "Pages du manuel de Linux 6.17"
1525
1526 #. type: TH
1527 #: opensuse-leap-16-1 opensuse-tumbleweed
1528 #, no-wrap
1529 msgid "Linux man-pages (unreleased)"
1530 msgstr "Pages du manuel de Linux (non publiées)"