dlgetname(3C)dlgetname(3C)NAMEdlgetname() - retrieve the name of a load module given a load module
descriptor
SYNOPSIS
[flag]... file... [library]...
char *dlgetname(struct load_module_desc *desc,
size_t desc_size,
void *(*read_tgt_mem)(void* buffer,
unsigned long long ptr,
size_t bufsiz,
int ident),
int ident_parm,
unsigned long long load_map_parm);
Multithread Usage
This routine is thread-safe.
DESCRIPTION
is one of a family of routines that give the user direct access to the
dynamic linking facilities. returns the pathname of a load module rep‐
resented by desc. The read_tgt_mem, ident_parm, and load_map_parm
parameters are identical to those for See dlmodinfo(3C).
The caller of must copy the return value to insure that it is not cor‐
rupted.
RETURN VALUE
If desc does not describe a loaded module, then NULL is returned. More
detailed diagnostic information is available through
ERRORS
If fails, a subsequent call to returns one of the following values:
Cannot apply relocation in library.
Out of memory.
failed in reading target memory.
failed on entry to or exit from
failed on exit from
failed on entry to
AUTHOR
was developed by HP.
SEE ALSO
System Tools
exec(2) System loader.
ld(1) Invokes the link editor.
Miscellaneous
a.out(4) Assembler, compiler, and linker output.
dlclose(3C) Unloads a shared library previously loaded by
dlerror(3C) Returns the last error message recorded by
dlerrno(3C) Returns an error code for the last error recorded by
dlget(3C) Returns information on a loaded module.
dlmodinfo(3C) Returns information about a loaded module.
dlopen(3C) Loads a shared library.
dlsym(3C) Gets the address of a symbol in a shared library.
Texts and Tutorials
(See the option)
(See manuals(5) for ordering information)
ELF Application Only dlgetname(3C)