Debian Codegraph @

templates/man3/dlsym.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 "dlsym"
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 ""
50 "dlsym, dlvsym - obtain address of a symbol in a shared object or executable"
51 msgstr ""
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 "LIBRARY"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Dynamic linking library (I<libdl>,\\ I<-ldl>)"
64 msgstr ""
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 "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>dlfcn.hE<gt>>\n"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<void *dlsym(void *restrict >I<handle>B<, const char *restrict >I<symbol>B<);>\n"
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid ""
92 "B<#define _GNU_SOURCE>\n"
93 "B<#include E<lt>dlfcn.hE<gt>>\n"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid ""
101 "B<void *dlvsym(void *restrict >I<handle>B<, const char *restrict >I<symbol>B<,>\n"
102 "B< const char *restrict >I<version>B<);>\n"
103 msgstr ""
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "The function B<dlsym>() takes a \"handle\" of a dynamic loaded shared "
117 "object returned by B<dlopen>(3) along with a null-terminated symbol name, "
118 "and returns the address where that symbol is loaded into memory. If the "
119 "symbol is not found, in the specified object or any of the shared objects "
120 "that were automatically loaded by B<dlopen>(3) when that object was loaded, "
121 "B<dlsym>() returns NULL. (The search performed by B<dlsym>() is breadth "
122 "first through the dependency tree of these shared objects.)"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "In unusual cases (see NOTES) the value of the symbol could actually be "
130 "NULL. Therefore, a NULL return from B<dlsym>() need not indicate an "
131 "error. The correct way to distinguish an error from a symbol whose value is "
132 "NULL is to call B<dlerror>(3) to clear any old error conditions, then call "
133 "B<dlsym>(), and then call B<dlerror>(3) again, saving its return value into "
134 "a variable, and check whether this saved value is not NULL."
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "There are two special pseudo-handles that may be specified in I<handle>:"
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_DEFAULT>"
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 "Find the first occurrence of the desired symbol using the default shared "
156 "object search order. The search will include global symbols in the "
157 "executable and its dependencies, as well as symbols in shared objects that "
158 "were dynamically loaded with the B<RTLD_GLOBAL> flag."
159 msgstr ""
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<RTLD_NEXT>"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "Find the next occurrence of the desired symbol in the search order after the "
173 "current object. This allows one to provide a wrapper around a function in "
174 "another shared object, so that, for example, the definition of a function in "
175 "a preloaded shared object (see B<LD_PRELOAD> in B<ld.so>(8)) can find and "
176 "invoke the \"real\" function provided in another shared object (or for that "
177 "matter, the \"next\" definition of the function in cases where there are "
178 "multiple layers of preloading)."
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "The B<_GNU_SOURCE> feature test macro must be defined in order to obtain the "
186 "definitions of B<RTLD_DEFAULT> and B<RTLD_NEXT> from I<E<lt>dlfcn.hE<gt>>."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "The function B<dlvsym>() does the same as B<dlsym>() but takes a version "
194 "string as an additional argument."
195 msgstr ""
196
197 #. type: SH
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "RETURN VALUE"
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
206 #: opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "On success, these functions return the address associated with I<symbol>. "
209 "On failure, they return NULL; the error can be diagnosed using B<dlerror>(3)."
210 msgstr ""
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "ATTRIBUTES"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "For an explanation of the terms used in this section, see B<attributes>(7)."
224 msgstr ""
225
226 #. type: tbl table
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "Interface"
231 msgstr ""
232
233 #. type: tbl table
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "Attribute"
238 msgstr ""
239
240 #. type: tbl table
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "Value"
245 msgstr ""
246
247 #. type: tbl table
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid ".na\n"
252 msgstr ""
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid ".nh\n"
259 msgstr ""
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid ""
266 "B<dlsym>(),\n"
267 "B<dlvsym>()"
268 msgstr ""
269
270 #. type: tbl table
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "Thread safety"
275 msgstr ""
276
277 #. type: tbl table
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "MT-Safe"
282 msgstr ""
283
284 #. type: SH
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "STANDARDS"
289 msgstr ""
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<dlsym>()"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "POSIX.1-2008."
302 msgstr ""
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<dlvsym>()"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid "GNU."
315 msgstr ""
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "HISTORY"
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "glibc 2.0. POSIX.1-2001."
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid "glibc 2.1."
334 msgstr ""
335
336 #. type: SH
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "NOTES"
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "There are several scenarios when the address of a global symbol is NULL. "
348 "For example, a symbol can be placed at zero address by the linker, via a "
349 "linker script or with I<--defsym> command-line option. Undefined weak "
350 "symbols also have NULL value. Finally, the symbol value may be the result "
351 "of a GNU indirect function (IFUNC) resolver function that returns NULL as "
352 "the resolved value. In the latter case, B<dlsym>() also returns NULL "
353 "without error. However, in the former two cases, the behavior of GNU "
354 "dynamic linker is inconsistent: relocation processing succeeds and the "
355 "symbol can be observed to have NULL value, but B<dlsym>() fails and "
356 "B<dlerror>() indicates a lookup error."
357 msgstr ""
358
359 #. type: SS
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "History"
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The B<dlsym>() function is part of the dlopen API, derived from SunOS. "
371 "That system does not have B<dlvsym>()."
372 msgstr ""
373
374 #. type: SH
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "EXAMPLES"
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid "See B<dlopen>(3)."
385 msgstr ""
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "SEE ALSO"
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "B<dl_iterate_phdr>(3), B<dladdr>(3), B<dlerror>(3), B<dlinfo>(3), "
399 "B<dlopen>(3), B<ld.so>(8)"
400 msgstr ""
401
402 #. type: TH
403 #: debian-trixie
404 #, no-wrap
405 msgid "2024-05-02"
406 msgstr ""
407
408 #. type: TH
409 #: debian-trixie
410 #, no-wrap
411 msgid "Linux man-pages 6.9.1"
412 msgstr ""
413
414 #. type: Plain text
415 #: debian-trixie
416 msgid "Dynamic linking library (I<libdl>, I<-ldl>)"
417 msgstr ""
418
419 #. type: Plain text
420 #: debian-trixie
421 msgid ""
422 "On success, these functions return the address associated with I<symbol>. "
423 "On failure, they return NULL; the cause of the error can be diagnosed using "
424 "B<dlerror>(3)."
425 msgstr ""
426
427 #. type: TH
428 #: fedora-44 fedora-rawhide
429 #, no-wrap
430 msgid "2024-07-23"
431 msgstr ""
432
433 #. type: TH
434 #: fedora-44 fedora-rawhide
435 #, no-wrap
436 msgid "Linux man-pages 6.13"
437 msgstr ""
438
439 #. type: TH
440 #: mageia-cauldron
441 #, no-wrap
442 msgid "Linux man-pages 6.17"
443 msgstr ""
444
445 #. type: TH
446 #: opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Linux man-pages (unreleased)"
449 msgstr ""