Debian Codegraph @

templates/man3/dladdr.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:22+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "dladdr"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "dladdr, dladdr1 - translate address to symbolic information"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Dynamic linking library (I<libdl>,\\ I<-ldl>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#define _GNU_SOURCE>\n"
78 "B<#include E<lt>dlfcn.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int dladdr(const void *>I<addr>B<, Dl_info *>I<info>B<);>\n"
87 "B<int dladdr1(const void *>I<addr>B<, Dl_info *>I<info>B<, void **>I<extra_info>B<,>\n"
88 "B< int >I<flags>B<);>\n"
89 msgstr ""
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "The function B<dladdr>() determines whether the address specified in "
103 "I<addr> is located in one of the shared objects loaded by the calling "
104 "application. If it is, then B<dladdr>() returns information about the "
105 "shared object and symbol that overlaps I<addr>. This information is "
106 "returned in a I<Dl_info> structure:"
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
111 #: opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 "typedef struct {\n"
115 " const char *dli_fname; /* Pathname of shared object that\n"
116 " contains address */\n"
117 " void *dli_fbase; /* Base address at which shared\n"
118 " object is loaded */\n"
119 " const char *dli_sname; /* Name of symbol whose definition\n"
120 " overlaps \\f[I]addr\\fR */\n"
121 " void *dli_saddr; /* Exact address of symbol named\n"
122 " in \\f[I]dli_sname\\fR */\n"
123 "} Dl_info;\n"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "If no symbol matching I<addr> could be found, then I<dli_sname> and "
131 "I<dli_saddr> are set to NULL."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "The function B<dladdr1>() is like B<dladdr>(), but returns additional "
139 "information via the argument I<extra_info>. The information returned "
140 "depends on the value specified in I<flags>, which can have one of the "
141 "following values:"
142 msgstr ""
143
144 #. type: TP
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "B<RTLD_DL_LINKMAP>"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "Obtain a pointer to the link map for the matched file. The I<extra_info> "
156 "argument points to a pointer to a I<link_map> structure (i.e., I<struct "
157 "link_map\\ **>), defined in I<E<lt>link.hE<gt>> as:"
158 msgstr ""
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid ""
165 "struct link_map {\n"
166 " ElfW(Addr) l_addr; /* Difference between the\n"
167 " address in the ELF file and\n"
168 " the address in memory */\n"
169 " char *l_name; /* Absolute pathname where\n"
170 " object was found */\n"
171 " ElfW(Dyn) *l_ld; /* Dynamic section of the\n"
172 " shared object */\n"
173 " struct link_map *l_next, *l_prev;\n"
174 " /* Chain of loaded objects */\n"
175 "\\&\n"
176 " /* Plus additional fields private to the\n"
177 " implementation */\n"
178 "};\n"
179 msgstr ""
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<RTLD_DL_SYMENT>"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "Obtain a pointer to the ELF symbol table entry of the matching symbol. The "
193 "I<extra_info> argument is a pointer to a symbol pointer: I<const ElfW(Sym) "
194 "**>. The I<ElfW>() macro definition turns its argument into the name of an "
195 "ELF data type suitable for the hardware architecture. For example, on a 64-"
196 "bit platform, I<ElfW(Sym)> yields the data type name I<Elf64_Sym>, which is "
197 "defined in I<E<lt>elf.hE<gt>> as:"
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid ""
205 "typedef struct {\n"
206 " Elf64_Word st_name; /* Symbol name */\n"
207 " unsigned char st_info; /* Symbol type and binding */\n"
208 " unsigned char st_other; /* Symbol visibility */\n"
209 " Elf64_Section st_shndx; /* Section index */\n"
210 " Elf64_Addr st_value; /* Symbol value */\n"
211 " Elf64_Xword st_size; /* Symbol size */\n"
212 "} Elf64_Sym;\n"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "The I<st_name> field is an index into the string table."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "The I<st_info> field encodes the symbol's type and binding. The type can be "
226 "extracted using the macro B<ELF64_ST_TYPE(st_info)> (or B<ELF32_ST_TYPE()> "
227 "on 32-bit platforms), which yields one of the following values:"
228 msgstr ""
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "Value"
235 msgstr ""
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Description"
242 msgstr ""
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "STT_NOTYPE"
249 msgstr ""
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Symbol type is unspecified"
256 msgstr ""
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "STT_OBJECT"
263 msgstr ""
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "Symbol is a data object"
270 msgstr ""
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "STT_FUNC"
277 msgstr ""
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "Symbol is a code object"
284 msgstr ""
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "STT_SECTION"
291 msgstr ""
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "Symbol associated with a section"
298 msgstr ""
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "STT_FILE"
305 msgstr ""
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "Symbol's name is filename"
312 msgstr ""
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "STT_COMMON"
319 msgstr ""
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "Symbol is a common data object"
326 msgstr ""
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "STT_TLS"
333 msgstr ""
334
335 #. type: tbl table
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "Symbol is thread-local data object"
340 msgstr ""
341
342 #. type: tbl table
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "STT_GNU_IFUNC"
347 msgstr ""
348
349 #. type: tbl table
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "Symbol is indirect code object"
354 msgstr ""
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "The symbol binding can be extracted from the I<st_info> field using the "
361 "macro B<ELF64_ST_BIND(st_info)> (or B<ELF32_ST_BIND()> on 32-bit platforms), "
362 "which yields one of the following values:"
363 msgstr ""
364
365 #. type: tbl table
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "STB_LOCAL"
370 msgstr ""
371
372 #. type: tbl table
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "Local symbol"
377 msgstr ""
378
379 #. type: tbl table
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "STB_GLOBAL"
384 msgstr ""
385
386 #. type: tbl table
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "Global symbol"
391 msgstr ""
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "STB_WEAK"
398 msgstr ""
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Weak symbol"
405 msgstr ""
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "STB_GNU_UNIQUE"
412 msgstr ""
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "Unique symbol"
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "The I<st_other> field contains the symbol's visibility, which can be "
426 "extracted using the macro B<ELF64_ST_VISIBILITY(st_info)> (or "
427 "B<ELF32_ST_VISIBILITY()> on 32-bit platforms), which yields one of the "
428 "following values:"
429 msgstr ""
430
431 #. type: tbl table
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "STV_DEFAULT"
436 msgstr ""
437
438 #. type: tbl table
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "Default symbol visibility rules"
443 msgstr ""
444
445 #. type: tbl table
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "STV_INTERNAL"
450 msgstr ""
451
452 #. type: tbl table
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "Processor-specific hidden class"
457 msgstr ""
458
459 #. type: tbl table
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "STV_HIDDEN"
464 msgstr ""
465
466 #. type: tbl table
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "Symbol unavailable in other modules"
471 msgstr ""
472
473 #. type: tbl table
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "STV_PROTECTED"
478 msgstr ""
479
480 #. type: tbl table
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Not preemptible, not exported"
485 msgstr ""
486
487 #. type: SH
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "RETURN VALUE"
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "On success, these functions return a nonzero value. If the address "
499 "specified in I<addr> could be matched to a shared object, but not to a "
500 "symbol in the shared object, then the I<info-E<gt>dli_sname> and I<info-"
501 "E<gt>dli_saddr> fields are set to NULL."
502 msgstr ""
503
504 #. According to the FreeBSD man page, dladdr1() does signal an
505 #. error via dlerror() for this case.
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "If the address specified in I<addr> could not be matched to a shared object, "
511 "then these functions return 0. In this case, an error message is I<not> "
512 "available via B<dlerror>(3)."
513 msgstr ""
514
515 #. type: SH
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "ATTRIBUTES"
520 msgstr ""
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "For an explanation of the terms used in this section, see B<attributes>(7)."
527 msgstr ""
528
529 #. type: tbl table
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "Interface"
534 msgstr ""
535
536 #. type: tbl table
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid "Attribute"
541 msgstr ""
542
543 #. type: tbl table
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid ".na\n"
548 msgstr ""
549
550 #. type: tbl table
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 #, no-wrap
554 msgid ".nh\n"
555 msgstr ""
556
557 #. type: tbl table
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid ""
562 "B<dladdr>(),\n"
563 "B<dladdr1>()"
564 msgstr ""
565
566 #. type: tbl table
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "Thread safety"
571 msgstr ""
572
573 #. type: tbl table
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, no-wrap
577 msgid "MT-Safe"
578 msgstr ""
579
580 #. type: SH
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 #, no-wrap
584 msgid "STANDARDS"
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid "GNU."
591 msgstr ""
592
593 #. type: SH
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "HISTORY"
598 msgstr ""
599
600 #. type: TP
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, no-wrap
604 msgid "B<dladdr>()"
605 msgstr ""
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid "glibc 2.0."
611 msgstr ""
612
613 #. type: TP
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 #, no-wrap
617 msgid "B<dladdr1>()"
618 msgstr ""
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid "glibc 2.3.3."
624 msgstr ""
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid "Solaris."
630 msgstr ""
631
632 #. type: SH
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "BUGS"
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "Sometimes, the function pointers you pass to B<dladdr>() may surprise you. "
644 "On some architectures (notably i386 and x86-64), I<dli_fname> and "
645 "I<dli_fbase> may end up pointing back at the object from which you called "
646 "B<dladdr>(), even if the function used as an argument should come from a "
647 "dynamically linked library."
648 msgstr ""
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "The problem is that the function pointer will still be resolved at compile "
655 "time, but merely point to the I<plt> (Procedure Linkage Table) section of "
656 "the original object (which dispatches the call after asking the dynamic "
657 "linker to resolve the symbol). To work around this, you can try to compile "
658 "the code to be position-independent: then, the compiler cannot prepare the "
659 "pointer at compile time any more and B<gcc>(1) will generate code that just "
660 "loads the final symbol address from the I<got> (Global Offset Table) at run "
661 "time before passing it to B<dladdr>()."
662 msgstr ""
663
664 #. type: SH
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "SEE ALSO"
669 msgstr ""
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "B<dl_iterate_phdr>(3), B<dlinfo>(3), B<dlopen>(3), B<dlsym>(3), B<ld.so>(8)"
676 msgstr ""
677
678 #. type: TH
679 #: debian-trixie
680 #, no-wrap
681 msgid "2024-05-02"
682 msgstr ""
683
684 #. type: TH
685 #: debian-trixie
686 #, no-wrap
687 msgid "Linux man-pages 6.9.1"
688 msgstr ""
689
690 #. type: Plain text
691 #: debian-trixie
692 msgid "Dynamic linking library (I<libdl>, I<-ldl>)"
693 msgstr ""
694
695 #. type: Plain text
696 #: debian-trixie fedora-44 fedora-rawhide
697 #, no-wrap
698 msgid ""
699 "typedef struct {\n"
700 " const char *dli_fname; /* Pathname of shared object that\n"
701 " contains address */\n"
702 " void *dli_fbase; /* Base address at which shared\n"
703 " object is loaded */\n"
704 " const char *dli_sname; /* Name of symbol whose definition\n"
705 " overlaps I<addr> */\n"
706 " void *dli_saddr; /* Exact address of symbol named\n"
707 " in I<dli_sname> */\n"
708 "} Dl_info;\n"
709 msgstr ""
710
711 #. type: TH
712 #: fedora-44 fedora-rawhide
713 #, no-wrap
714 msgid "2024-07-23"
715 msgstr ""
716
717 #. type: TH
718 #: fedora-44 fedora-rawhide
719 #, no-wrap
720 msgid "Linux man-pages 6.13"
721 msgstr ""
722
723 #. type: TH
724 #: mageia-cauldron
725 #, no-wrap
726 msgid "Linux man-pages 6.17"
727 msgstr ""
728
729 #. type: TH
730 #: opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "Linux man-pages (unreleased)"
733 msgstr ""