Debian Codegraph @

po/fr/man3/dlinfo.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.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012, 2013.
18 # Grégoire Scano <[email protected]>, 2021.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.30\n"
22 "POT-Creation-Date: 2026-06-05 06:22+0200\n"
23 "PO-Revision-Date: 2026-04-04 18:07+0200\n"
24 "Last-Translator: Grégoire Scano <[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 25.04.0\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 "dlinfo"
38 msgstr "dlinfo"
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 "dlinfo - obtain information about a dynamically loaded object"
64 msgstr "dlinfo - Obtenir des informations sur un objet chargé dynamiquement"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "BIBLIOTHÈQUE"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Dynamic linking library (I<libdl>,\\ I<-ldl>)"
77 msgstr "Bibliothèque de liens dynamiques (I<libdl>,\\ I<-ldl>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid ""
91 "B<#define _GNU_SOURCE>\n"
92 "B<#include E<lt>link.hE<gt>>\n"
93 "B<#include E<lt>dlfcn.hE<gt>>\n"
94 msgstr ""
95 "B<#define _GNU_SOURCE>\n"
96 "B<#include E<lt>link.hE<gt>>\n"
97 "B<#include E<lt>dlfcn.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 "B<int dlinfo(void *restrict >handleB<, int >requestB<, void *restrict >infoB<);>\n"
104 msgstr "B<int dlinfo(void *restrict >handleB<, int >requestB<, void *restrict >infoB<);>\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 "The B<dlinfo>() function obtains information about the dynamically loaded "
118 "object referred to by I<handle> (typically obtained by an earlier call to "
119 "B<dlopen>(3) or B<dlmopen>(3)). The I<request> argument specifies which "
120 "information is to be returned. The I<info> argument is a pointer to a "
121 "buffer used to store information returned by the call; the type of this "
122 "argument depends on I<request>."
123 msgstr ""
124 "La fonction B<dlinfo>() obtient des informations sur l'objet chargé "
125 "dynamiquement et référencé par I<handle> (habituellement obtenu par un appel "
126 "préalable à B<dlopen>(3) ou B<dlmopen>(3)). Le paramètre I<request> spécifie "
127 "quelle information doit être renvoyée. Le paramètre I<info> est un pointeur "
128 "vers un tampon utilisé pour stocker les informations renvoyées par l'appel ; "
129 "le type de ce paramètre dépend de I<request>."
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 "The following values are supported for I<request> (with the corresponding "
136 "type for I<info> shown in parentheses):"
137 msgstr ""
138 "Les valeurs suivantes sont prises en charge pour I<request> (avec le type "
139 "correspondant pour I<info> entre parenthèses) :"
140
141 #. type: TP
142 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
143 #: opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<RTLD_DI_LMID> (\\f[I]Lmid_t *\\fR)"
146 msgstr "B<RTLD_DI_LMID> (\\f[I]Lmid_t *\\fR)"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "Obtain the ID of the link-map list (namespace) in which I<handle> is loaded."
153 msgstr ""
154 "Récupérer l'identifiant de la liste d'association des liens (espace de noms) "
155 "dans lequel I<handle> est chargé."
156
157 #. type: TP
158 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
159 #: opensuse-tumbleweed
160 #, no-wrap
161 msgid "B<RTLD_DI_LINKMAP> (\\f[I]struct link_map **\\fR)"
162 msgstr "B<RTLD_DI_LINKMAP> (\\f[I]struct link_map **\\fR)"
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "Obtain a pointer to the I<link_map> structure corresponding to I<handle>. "
169 "The I<info> argument points to a pointer to a I<link_map> structure, defined "
170 "in I<E<lt>link.hE<gt>> as:"
171 msgstr ""
172 "Récupèrer un pointeur vers la structure I<link_map> correspondant à "
173 "I<handle>. Le paramètre I<info> pointe vers un pointeur sur une structure "
174 "I<link_map>, définie dans I<E<lt>link.hE<gt>> comme :"
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid ""
181 "struct link_map {\n"
182 " ElfW(Addr) l_addr; /* Difference between the\n"
183 " address in the ELF file and\n"
184 " the address in memory */\n"
185 " char *l_name; /* Absolute pathname where\n"
186 " object was found */\n"
187 " ElfW(Dyn) *l_ld; /* Dynamic section of the\n"
188 " shared object */\n"
189 " struct link_map *l_next, *l_prev;\n"
190 " /* Chain of loaded objects */\n"
191 "\\&\n"
192 " /* Plus additional fields private to the\n"
193 " implementation */\n"
194 "};\n"
195 msgstr ""
196 "struct link_map {\n"
197 " ElfW(Addr) l_addr; /* Différence entre l'adresse\n"
198 " dans le fichier ELF et\n"
199 " l'adresse en mémoire */\n"
200 " char *l_name; /* Chemin absolu du fichier où\n"
201 " l'objet a été trouvé */\n"
202 " ElfW(Dyn) *l_ld; /* La section dynamique de l'objet\n"
203 " partagé */\n"
204 " struct link_map *l_next, *l_prev;\n"
205 " /* Chaîne des objets chargés */\n"
206 "\\&\n"
207 " /* Plus des champs supplémentaires privés\n"
208 " de l'implémentation */\n"
209 "};\n"
210
211 #. type: TP
212 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 #, no-wrap
215 msgid "B<RTLD_DI_ORIGIN> (\\f[I]char *\\fR)"
216 msgstr "B<RTLD_DI_ORIGIN> (\\f[I]char *\\fR)"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "Copy the pathname of the origin of the shared object corresponding to "
223 "I<handle> to the location pointed to by I<info>."
224 msgstr ""
225 "Copie le chemin du fichier de l'objet partagé correspondant à I<handle> vers "
226 "l'endroit pointé vers I<info>."
227
228 #. type: TP
229 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
230 #: opensuse-tumbleweed
231 #, no-wrap
232 msgid "B<RTLD_DI_SERINFO> (\\f[I]Dl_serinfo *\\fR)"
233 msgstr "B<RTLD_DI_SERINFO> (\\f[I]Dl_serinfo *\\fR)"
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "Obtain the library search paths for the shared object referred to by "
240 "I<handle>. The I<info> argument is a pointer to a I<Dl_serinfo> that "
241 "contains the search paths. Because the number of search paths may vary, the "
242 "size of the structure pointed to by I<info> can vary. The "
243 "B<RTLD_DI_SERINFOSIZE> request described below allows applications to size "
244 "the buffer suitably. The caller must perform the following steps:"
245 msgstr ""
246 "Obtient les chemins de recherche de bibliothèques pour un objet partagé "
247 "indiqué par I<handle>. L'argument I<info> est un pointeur vers un "
248 "I<Dl_serinfo> qui contient les chemins de recherche. Parce que le nombre de "
249 "chemins de recherche peut varier, la taille de la structure sur laquelle "
250 "I<info> pointe peut aussi varier. La requête B<RTLD_DI_SERINFOSIZE> décrite "
251 "ci-dessous permet aux applications de déterminer convenablement la taille du "
252 "tampon. L'appelant doit effectuer les étapes suivantes :"
253
254 #. type: IP
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "(1)"
259 msgstr "(1)"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "Use a B<RTLD_DI_SERINFOSIZE> request to populate a I<Dl_serinfo> structure "
266 "with the size (I<dls_size>) of the structure needed for the subsequent "
267 "B<RTLD_DI_SERINFO> request."
268 msgstr ""
269 "Utiliser une requête B<RTLD_DI_SERINFOSIZE> pour renseigner une structure "
270 "I<Dl_serinfo> avec la taille (I<dls_size>) de la structure requise pour la "
271 "requête B<RTLD_DI_SERINFO> ultérieure."
272
273 #. type: IP
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "(2)"
278 msgstr "(2)"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "Allocate a I<Dl_serinfo> buffer of the correct size (I<dls_size>)."
284 msgstr "Allouer un tampon I<Dl_serinfo> de la bonne taille (I<dls_size>)."
285
286 #. type: IP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "(3)"
291 msgstr "(3)"
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 ""
297 "Use a further B<RTLD_DI_SERINFOSIZE> request to populate the I<dls_size> and "
298 "I<dls_cnt> fields of the buffer allocated in the previous step."
299 msgstr ""
300 "Utiliser un requête B<RTLD_DI_SERINFOSIZE> pour remplir les champs "
301 "I<dls_size> et I<dls_cnt> du tampon alloué à l'étape précédente."
302
303 #. type: IP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "(4)"
308 msgstr "(4)"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "Use a B<RTLD_DI_SERINFO> to obtain the library search paths."
314 msgstr ""
315 "Utiliser un B<RTLD_DI_SERINFO> pour obtenir les chemins de recherche de "
316 "bibliothèques."
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 "The I<Dl_serinfo> structure is defined as follows:"
322 msgstr "La structure I<Dl_serinfo> est définie comme suit :"
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 "typedef struct {\n"
330 " size_t dls_size; /* Size in bytes of\n"
331 " the whole buffer */\n"
332 " unsigned int dls_cnt; /* Number of elements\n"
333 " in \\[aq]dls_serpath\\[aq] */\n"
334 " Dl_serpath dls_serpath[1]; /* Actually longer,\n"
335 " \\[aq]dls_cnt\\[aq] elements */\n"
336 "} Dl_serinfo;\n"
337 msgstr ""
338 "typedef struct {\n"
339 " size_t dls_size; /* Taille en octets du\n"
340 " tampon entier */\n"
341 " unsigned int dls_cnt; /* Nombre d'éléments\n"
342 " dans \\[aq]dls_serpath\\[aq] */\n"
343 " Dl_serpath dls_serpath[1]; /* En fait plus long,\n"
344 " \\[aq]dls_cnt\\[aq] éléments */\n"
345 "} Dl_serinfo;\n"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "Each of the I<dls_serpath> elements in the above structure is a structure of "
352 "the following form:"
353 msgstr ""
354 "Chacun des éléments I<dls_serpath> dans la structure ci-dessus sont "
355 "structurés sous la forme suivantes\\ :"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid ""
362 "typedef struct {\n"
363 " char *dls_name; /* Name of library search\n"
364 " path directory */\n"
365 " unsigned int dls_flags; /* Indicates where this\n"
366 " directory came from */\n"
367 "} Dl_serpath;\n"
368 msgstr ""
369 "typedef struct {\n"
370 " char *dls_name; /* Nom du répertoire de recherche\n"
371 " de chemin de bibliothèque */\n"
372 " unsigned int dls_flags; /* Indique d'où ce\n"
373 " répertoire provient */\n"
374 "} Dl_serpath;\n"
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 "The I<dls_flags> field is currently unused, and always contains zero."
380 msgstr ""
381 "Le champ I<dls_flags> n'est pas utilisé pour le moment et contient toujours "
382 "zéro."
383
384 #. type: TP
385 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
386 #: opensuse-tumbleweed
387 #, no-wrap
388 msgid "B<RTLD_DI_SERINFOSIZE> (\\f[I]Dl_serinfo *\\fR)"
389 msgstr "B<RTLD_DI_SERINFOSIZE> (\\f[I]Dl_serinfo *\\fR)"
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "Populate the I<dls_size> and I<dls_cnt> fields of the I<Dl_serinfo> "
396 "structure pointed to by I<info> with values suitable for allocating a buffer "
397 "for use in a subsequent B<RTLD_DI_SERINFO> request."
398 msgstr ""
399 "Renseigne les champs I<dls_size> et I<dls_cnt> de la structure I<Dl_serinfo> "
400 "sur laquelle pointe I<info> avec des valeurs appropriées pour allouer un "
401 "tampon pouvant être utilisé dans une requête B<RTLD_DI_SERINFO> ultérieure."
402
403 #. type: TP
404 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
405 #: opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<RTLD_DI_TLS_MODID> (\\f[I]size_t *\\fR, since glibc 2.4)"
408 msgstr "B<RTLD_DI_TLS_MODID> (\\f[I]size_t *\\fR, depuis la version 2.4 de la glibc)"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "Obtain the module ID of this shared object's TLS (thread-local storage) "
415 "segment, as used in TLS relocations. If this object does not define a TLS "
416 "segment, zero is placed in I<*info>."
417 msgstr ""
418 "Obtient l'identifiant de module du segment TLS (stockage local au thread) de "
419 "l'objet partagé, comme utilisé dans les relocalisations TLS. Si cet objet ne "
420 "définit pas de segment TLS, zéro est mis dans I<*info>."
421
422 #. type: TP
423 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
424 #: opensuse-tumbleweed
425 #, no-wrap
426 msgid "B<RTLD_DI_TLS_DATA> (\\f[I]void **\\fR, since glibc 2.4)"
427 msgstr "B<RTLD_DI_TLS_DATA> (\\f[I]void **\\fR, depuis la version 2.4 de la glibc)"
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "Obtain a pointer to the calling thread's TLS block corresponding to this "
434 "shared object's TLS segment. If this object does not define a PT_TLS "
435 "segment, or if the calling thread has not allocated a block for it, NULL is "
436 "placed in I<*info>."
437 msgstr ""
438 "Obtenir un pointeur au bloc TLS du thread appelant correspondant au segment "
439 "TLS des objets partagés. Si cet objet ne définit pas un segment PT_TLS, ou "
440 "si le thread appelant ne lui a pas alloué de bloc, NULL est placé dans "
441 "I<*info>."
442
443 #. type: TP
444 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
445 #: opensuse-tumbleweed
446 #, no-wrap
447 msgid "B<RTLD_DI_PHDR> (\\f[I]const ElfW(Phdr *)\\fR, since glibc 2.34.1)"
448 msgstr "B<RTLD_DI_PHDR> (\\f[I]const ElfW(Phdr *)\\fR, depuis la version 2.34.1 de la glibc)"
449
450 #. glibc commit d056c212130280c0a54d9a4f72170ec621b70ce5 (2.36)
451 #. glibc commit 28ea43f8d64f0dd1f2de75525157730e1532e600 (2.35.1)
452 #. glibc commit 91c2e6c3db44297bf4cb3a2e3c40236c5b6a0b23 (2.34.1)
453 #. type: Plain text
454 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
455 #: opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "Obtain the address of this shared object's program header and place it in "
458 "I<*info>. This B<dlinfo> call returns the number of program headers in the "
459 "shared object."
460 msgstr ""
461 "Obtenir l'adresse de l'en-tête du programme de l'objet partagé et le placer "
462 "dans I<*info>. Cet appel B<dlinfo> renvoie le nombre d'en-têtes de programme "
463 "dans l'objet partagé."
464
465 #. type: SH
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "RETURN VALUE"
470 msgstr "VALEUR RENVOYÉE"
471
472 #. type: Plain text
473 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
474 #: opensuse-tumbleweed
475 msgid ""
476 "On success, B<dlinfo>() returns 0 (if not specified explicitly), or a "
477 "positive value corresponding to the request. On error, it returns -1; the "
478 "error can be diagnosed using B<dlerror>(3)."
479 msgstr ""
480 "En cas de succès, B<dlinfo>() renvoie B<0> (si non spécifié explicitement) "
481 "ou une valeur positive correspondant à la requête. En cas d'erreur, elle "
482 "renvoie B<-1> ; l'erreur peut être diagnostiquée avec B<dlerror>(3)."
483
484 #. type: SH
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "ATTRIBUTES"
489 msgstr "ATTRIBUTS"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
496 msgstr ""
497 "Pour une explication des termes utilisés dans cette section, consulter "
498 "B<attributes>(7)."
499
500 #. type: tbl table
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "Interface"
505 msgstr "Interface"
506
507 #. type: tbl table
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "Attribute"
512 msgstr "Attribut"
513
514 #. type: tbl table
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "Value"
519 msgstr "Valeur"
520
521 #. type: tbl table
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid ".na\n"
526 msgstr ".na\n"
527
528 #. type: tbl table
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid ".nh\n"
533 msgstr ".nh\n"
534
535 #. type: tbl table
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "B<dlinfo>()"
540 msgstr "B<dlinfo>()"
541
542 #. type: tbl table
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "Thread safety"
547 msgstr "Sécurité des threads"
548
549 #. type: tbl table
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "MT-Safe"
554 msgstr "MT-Safe"
555
556 #. type: SH
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "VERSIONS"
561 msgstr "VERSIONS"
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "The sets of requests supported by the various implementations overlaps only "
568 "partially."
569 msgstr ""
570 "Les ensembles de requêtes prises en charge par les diverses implémentations "
571 "ne se recouvrent que partiellement."
572
573 #. type: SH
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, no-wrap
577 msgid "STANDARDS"
578 msgstr "NORMES"
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid "GNU."
584 msgstr "GNU."
585
586 #. type: SH
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 #, no-wrap
590 msgid "HISTORY"
591 msgstr "HISTORIQUE"
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 msgid "glibc 2.3.3. Solaris."
597 msgstr "glibc 2.3.3. Solaris."
598
599 #. type: SH
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "EXAMPLES"
604 msgstr "EXEMPLES"
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 msgid ""
610 "The program below opens a shared objects using B<dlopen>(3) and then uses "
611 "the B<RTLD_DI_SERINFOSIZE> and B<RTLD_DI_SERINFO> requests to obtain the "
612 "library search path list for the library. Here is an example of what we "
613 "might see when running the program:"
614 msgstr ""
615 "Le programme ci-dessous ouvre un objet partagé en utilisant B<dlopen>(3) et "
616 "utilise par la suite les requêtes B<RTLD_DI_SERINFOSIZE> et "
617 "B<RTLD_DI_SERINFO> pour obtenir la liste de chemin de recherche de "
618 "bibliothèques pour la bibliothèque. Voici un exemple de ce qui pourrait être "
619 "observé lors de l'exécution du programme :"
620
621 #. type: Plain text
622 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
623 #: opensuse-tumbleweed
624 #, no-wrap
625 msgid ""
626 "$B< ./a.out /lib64/libm.so.6>;\n"
627 "dls_serpath[0].dls_name = /lib64\n"
628 "dls_serpath[1].dls_name = /usr/lib64\n"
629 msgstr ""
630 "$B< ./a.out /lib64/libm.so.6>;\n"
631 "dls_serpath[0].dls_name = /lib64\n"
632 "dls_serpath[1].dls_name = /usr/lib64\n"
633
634 #. type: SS
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 #, no-wrap
638 msgid "Program source"
639 msgstr "Source du programme"
640
641 #. type: Plain text
642 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
643 #: opensuse-tumbleweed
644 #, no-wrap
645 msgid ""
646 "#define _GNU_SOURCE\n"
647 "#include E<lt>dlfcn.hE<gt>\n"
648 "#include E<lt>link.hE<gt>\n"
649 "#include E<lt>stdio.hE<gt>\n"
650 "#include E<lt>stdlib.hE<gt>\n"
651 "\\&\n"
652 "int\n"
653 "main(int argc, char *argv[])\n"
654 "{\n"
655 " void *handle;\n"
656 " Dl_serinfo serinfo;\n"
657 " Dl_serinfo *sip;\n"
658 "\\&\n"
659 " if (argc != 2) {\n"
660 " fprintf(stderr, \"Usage: %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n"
661 " exit(EXIT_FAILURE);\n"
662 " }\n"
663 "\\&\n"
664 " /* Obtain a handle for shared object specified on command line. */\n"
665 "\\&\n"
666 " handle = dlopen(argv[1], RTLD_NOW);\n"
667 " if (handle == NULL) {\n"
668 " fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n"
669 " exit(EXIT_FAILURE);\n"
670 " }\n"
671 "\\&\n"
672 " /* Discover the size of the buffer that we must pass to\n"
673 " RTLD_DI_SERINFO. */\n"
674 "\\&\n"
675 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n"
676 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
677 " exit(EXIT_FAILURE);\n"
678 " }\n"
679 "\\&\n"
680 " /* Allocate the buffer for use with RTLD_DI_SERINFO. */\n"
681 "\\&\n"
682 " sip = malloc(serinfo.dls_size);\n"
683 " if (sip == NULL) {\n"
684 " perror(\"malloc\");\n"
685 " exit(EXIT_FAILURE);\n"
686 " }\n"
687 "\\&\n"
688 " /* Initialize the \\[aq]dls_size\\[aq] and \\[aq]dls_cnt\\[aq] fields in the newly\n"
689 " allocated buffer. */\n"
690 "\\&\n"
691 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n"
692 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
693 " exit(EXIT_FAILURE);\n"
694 " }\n"
695 "\\&\n"
696 " /* Fetch and print library search list. */\n"
697 "\\&\n"
698 " if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n"
699 " fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n"
700 " exit(EXIT_FAILURE);\n"
701 " }\n"
702 "\\&\n"
703 " for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n"
704 " printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n"
705 " j, sip-E<gt>dls_serpath[j].dls_name);\n"
706 "\\&\n"
707 " exit(EXIT_SUCCESS);\n"
708 "}\n"
709 msgstr ""
710 "#define _GNU_SOURCE\n"
711 "#include E<lt>dlfcn.hE<gt>\n"
712 "#include E<lt>link.hE<gt>\n"
713 "#include E<lt>stdio.hE<gt>\n"
714 "#include E<lt>stdlib.hE<gt>\n"
715 "\\&\n"
716 "int\n"
717 "main(int argc, char *argv[])\n"
718 "{\n"
719 " void *handle;\n"
720 " Dl_serinfo serinfo;\n"
721 " Dl_serinfo *sip;\n"
722 "\\&\n"
723 " if (argc != 2) {\n"
724 " fprintf(stderr, \"Utilisation : %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n"
725 " exit(EXIT_FAILURE);\n"
726 " }\n"
727 "\\&\n"
728 " /* Obtenir un gestionnaire pour l'objet partagé indiqué sur la\n"
729 " ligne de commande. */\n"
730 "\\&\n"
731 " handle = dlopen(argv[1], RTLD_NOW);\n"
732 " if (handle == NULL) {\n"
733 " fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n"
734 " exit(EXIT_FAILURE);\n"
735 " }\n"
736 "\\&\n"
737 " /* Découvrir la taille du tampon qu'il faut passer à\n"
738 " RTLD_DI_SERINFO. */\n"
739 "\\&\n"
740 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n"
741 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
742 " exit(EXIT_FAILURE);\n"
743 " }\n"
744 "\\&\n"
745 " /* Allouer le tampon pour l'utiliser avec RTLD_DI_SERINFO. */\n"
746 "\\&\n"
747 " sip = malloc(serinfo.dls_size);\n"
748 " if (sip == NULL) {\n"
749 " perror(\"malloc\");\n"
750 " exit(EXIT_FAILURE);\n"
751 " }\n"
752 "\\&\n"
753 " /* Initialiser les champs \\[aq]dls_size\\[aq] et \\[aq]dls_cnt\\[aq]\n"
754 " dans le tampon nouvellement alloué. */\n"
755 "\\&\n"
756 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n"
757 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
758 " exit(EXIT_FAILURE);\n"
759 " }\n"
760 "\\&\n"
761 " /* Récupérer et afficher la liste de recherche des bibliothèques. */\n"
762 "\\&\n"
763 " if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n"
764 " fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n"
765 " exit(EXIT_FAILURE);\n"
766 " }\n"
767 "\\&\n"
768 " for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n"
769 " printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n"
770 " j, sip-E<gt>dls_serpath[j].dls_name);\n"
771 "\\&\n"
772 " exit(EXIT_SUCCESS);\n"
773 "}\n"
774
775 #. SRC END
776 #. type: SH
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "SEE ALSO"
781 msgstr "VOIR AUSSI"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid ""
787 "B<dl_iterate_phdr>(3), B<dladdr>(3), B<dlerror>(3), B<dlopen>(3), "
788 "B<dlsym>(3), B<ld.so>(8)"
789 msgstr ""
790 "B<dl_iterate_phdr>(3), B<dladdr>(3), B<dlerror>(3), B<dlopen>(3), "
791 "B<dlsym>(3), B<ld.so>(8)"
792
793 #. type: TH
794 #: debian-trixie
795 #, no-wrap
796 msgid "2024-06-15"
797 msgstr "15 juin 2024"
798
799 #. type: TH
800 #: debian-trixie
801 #, no-wrap
802 msgid "Linux man-pages 6.9.1"
803 msgstr "Pages du manuel de Linux 6.9.1"
804
805 #. type: Plain text
806 #: debian-trixie
807 msgid "Dynamic linking library (I<libdl>, I<-ldl>)"
808 msgstr "Bibliothèque de liens dynamiques (I<libc>, I<-lc>)"
809
810 #. type: TP
811 #: debian-trixie fedora-44 fedora-rawhide
812 #, no-wrap
813 msgid "B<RTLD_DI_LMID> (I<Lmid_t *>)"
814 msgstr "B<RTLD_DI_LMID> (I<Lmid_t *>)"
815
816 #. type: TP
817 #: debian-trixie fedora-44 fedora-rawhide
818 #, no-wrap
819 msgid "B<RTLD_DI_LINKMAP> (I<struct link_map **>)"
820 msgstr "B<RTLD_DI_LINKMAP> (I<struct link_map **>)"
821
822 #. type: TP
823 #: debian-trixie fedora-44 fedora-rawhide
824 #, no-wrap
825 msgid "B<RTLD_DI_ORIGIN> (I<char *>)"
826 msgstr "B<RTLD_DI_ORIGIN> (I<char *>)"
827
828 #. type: TP
829 #: debian-trixie fedora-44 fedora-rawhide
830 #, no-wrap
831 msgid "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)"
832 msgstr "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)"
833
834 #. type: TP
835 #: debian-trixie fedora-44 fedora-rawhide
836 #, no-wrap
837 msgid "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)"
838 msgstr "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)"
839
840 #. type: TP
841 #: debian-trixie fedora-44 fedora-rawhide
842 #, no-wrap
843 msgid "B<RTLD_DI_TLS_MODID> (I<size_t *>, since glibc 2.4)"
844 msgstr "B<RTLD_DI_TLS_MODID> (I<size_t *>, depuis la version 2.4 de la glibc)"
845
846 #. type: TP
847 #: debian-trixie fedora-44 fedora-rawhide
848 #, no-wrap
849 msgid "B<RTLD_DI_TLS_DATA> (I<void **>, since glibc 2.4)"
850 msgstr "B<RTLD_DI_TLS_DATA> (I<void **>, depuis la version 2.4 de la glibc)"
851
852 #. type: Plain text
853 #: debian-trixie
854 msgid ""
855 "On success, B<dlinfo>() returns 0. On failure, it returns -1; the cause of "
856 "the error can be diagnosed using B<dlerror>(3)."
857 msgstr ""
858 "En cas de succès, B<dlinfo>() renvoie B<0>. En cas d'erreur, elle renvoie "
859 "B<-1> ; la cause de l'erreur peut être diagnostiquée avec B<dlerror>(3)."
860
861 #. type: Plain text
862 #: debian-trixie fedora-44 fedora-rawhide
863 #, no-wrap
864 msgid ""
865 "$ B<./a.out /lib64/libm.so.6>\n"
866 "dls_serpath[0].dls_name = /lib64\n"
867 "dls_serpath[1].dls_name = /usr/lib64\n"
868 msgstr ""
869 "$ B<./a.out /lib64/libm.so.6>\n"
870 "dls_serpath[0].dls_name = /lib64\n"
871 "dls_serpath[1].dls_name = /usr/lib64\n"
872
873 #. type: Plain text
874 #: debian-trixie fedora-44 fedora-rawhide
875 #, no-wrap
876 msgid ""
877 "#define _GNU_SOURCE\n"
878 "#include E<lt>dlfcn.hE<gt>\n"
879 "#include E<lt>link.hE<gt>\n"
880 "#include E<lt>stdio.hE<gt>\n"
881 "#include E<lt>stdlib.hE<gt>\n"
882 "\\&\n"
883 "int\n"
884 "main(int argc, char *argv[])\n"
885 "{\n"
886 " void *handle;\n"
887 " Dl_serinfo serinfo;\n"
888 " Dl_serinfo *sip;\n"
889 "\\&\n"
890 " if (argc != 2) {\n"
891 " fprintf(stderr, \"Usage: %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n"
892 " exit(EXIT_FAILURE);\n"
893 " }\n"
894 "\\&\n"
895 " /* Obtain a handle for shared object specified on command line. */\n"
896 "\\&\n"
897 " handle = dlopen(argv[1], RTLD_NOW);\n"
898 " if (handle == NULL) {\n"
899 " fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n"
900 " exit(EXIT_FAILURE);\n"
901 " }\n"
902 "\\&\n"
903 " /* Discover the size of the buffer that we must pass to\n"
904 " RTLD_DI_SERINFO. */\n"
905 "\\&\n"
906 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n"
907 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
908 " exit(EXIT_FAILURE);\n"
909 " }\n"
910 "\\&\n"
911 " /* Allocate the buffer for use with RTLD_DI_SERINFO. */\n"
912 "\\&\n"
913 " sip = malloc(serinfo.dls_size);\n"
914 " if (sip == NULL) {\n"
915 " perror(\"malloc\");\n"
916 " exit(EXIT_FAILURE);\n"
917 " }\n"
918 "\\&\n"
919 " /* Initialize the \\[aq]dls_size\\[aq] and \\[aq]dls_cnt\\[aq] fields in the newly\n"
920 " allocated buffer. */\n"
921 "\\&\n"
922 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n"
923 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
924 " exit(EXIT_FAILURE);\n"
925 " }\n"
926 "\\&\n"
927 " /* Fetch and print library search list. */\n"
928 "\\&\n"
929 " if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n"
930 " fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n"
931 " exit(EXIT_FAILURE);\n"
932 " }\n"
933 "\\&\n"
934 " for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n"
935 " printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n"
936 " j, sip-E<gt>dls_serpath[j].dls_name);\n"
937 "\\&\n"
938 " exit(EXIT_SUCCESS);\n"
939 "}\n"
940 msgstr ""
941 "#define _GNU_SOURCE\n"
942 "#include E<lt>dlfcn.hE<gt>\n"
943 "#include E<lt>link.hE<gt>\n"
944 "#include E<lt>stdio.hE<gt>\n"
945 "#include E<lt>stdlib.hE<gt>\n"
946 "\\&\n"
947 "int\n"
948 "main(int argc, char *argv[])\n"
949 "{\n"
950 " void *handle;\n"
951 " Dl_serinfo serinfo;\n"
952 " Dl_serinfo *sip;\n"
953 "\\&\n"
954 " if (argc != 2) {\n"
955 " fprintf(stderr, \"Utilisation : %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n"
956 " exit(EXIT_FAILURE);\n"
957 " }\n"
958 "\\&\n"
959 " /* Obtenir un gestionnaire pour l'objet partagé indiqué sur la\n"
960 " ligne de commande. */\n"
961 "\\&\n"
962 " handle = dlopen(argv[1], RTLD_NOW);\n"
963 " if (handle == NULL) {\n"
964 " fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n"
965 " exit(EXIT_FAILURE);\n"
966 " }\n"
967 "\\&\n"
968 " /* Découvrir la taille du tampon qu'il faut passer à\n"
969 " RTLD_DI_SERINFO. */\n"
970 "\\&\n"
971 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n"
972 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
973 " exit(EXIT_FAILURE);\n"
974 " }\n"
975 "\\&\n"
976 " /* Allouer le tampon pour l'utiliser avec RTLD_DI_SERINFO. */\n"
977 "\\&\n"
978 " sip = malloc(serinfo.dls_size);\n"
979 " if (sip == NULL) {\n"
980 " perror(\"malloc\");\n"
981 " exit(EXIT_FAILURE);\n"
982 " }\n"
983 "\\&\n"
984 " /* Initialiser les champs \\[aq]dls_size\\[aq] et \\[aq]dls_cnt\\[aq]\n"
985 " dans le tampon nouvellement alloué. */\n"
986 "\\&\n"
987 " if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n"
988 " fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n"
989 " exit(EXIT_FAILURE);\n"
990 " }\n"
991 "\\&\n"
992 " /* Récupérer et afficher la liste de recherche des bibliothèques. */\n"
993 "\\&\n"
994 " if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n"
995 " fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n"
996 " exit(EXIT_FAILURE);\n"
997 " }\n"
998 "\\&\n"
999 " for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n"
1000 " printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n"
1001 " j, sip-E<gt>dls_serpath[j].dls_name);\n"
1002 "\\&\n"
1003 " exit(EXIT_SUCCESS);\n"
1004 "}\n"
1005
1006 #. type: TH
1007 #: fedora-44 fedora-rawhide
1008 #, no-wrap
1009 msgid "2024-08-28"
1010 msgstr "28 août 2024"
1011
1012 #. type: TH
1013 #: fedora-44 fedora-rawhide
1014 #, no-wrap
1015 msgid "Linux man-pages 6.13"
1016 msgstr "Pages du manuel de Linux 6.13"
1017
1018 #. type: TP
1019 #: fedora-44 fedora-rawhide
1020 #, no-wrap
1021 msgid "B<RTLD_DI_PHDR> (I<const ElfW(Phdr *)>, since glibc 2.34.1)"
1022 msgstr "B<RTLD_DI_PHDR> (I<const ElfW(Phdr *)>, depuis la version 2.34.1 de la glibc)"
1023
1024 #. type: Plain text
1025 #: fedora-44 fedora-rawhide
1026 msgid ""
1027 "On success, B<dlinfo>() returns 0 (if not specified explicitly), or a "
1028 "positive value corresponding to the request. On failure, it returns -1; the "
1029 "error can be diagnosed using B<dlerror>(3)."
1030 msgstr ""
1031 "En cas de succès, B<dlinfo>() renvoie B<0> (si non spécifié explicitement) "
1032 "ou une valeur positive correspondant à la requête. En cas d'erreur, elle "
1033 "renvoie B<-1> ; l'erreur peut être diagnostiquée avec B<dlerror>(3)."
1034
1035 #. type: TH
1036 #: mageia-cauldron
1037 #, no-wrap
1038 msgid "Linux man-pages 6.17"
1039 msgstr "Pages du manuel de Linux 6.17"
1040
1041 #. type: TH
1042 #: opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid "Linux man-pages (unreleased)"
1045 msgstr "Pages du manuel de Linux (non publiées)"