HP-UX Reference (11i v1 05/09) - 3 Library Functions A-M (vol 6)

d
dlmodinfo(3C) dlmodinfo(3C)
(ELF Applications Only)
RETURN VALUE
If successful, dlmodinfo() returns a handle for the shared library as defined by the return value from
dlopen(). NULL is returned otherwise. The return values are type-converted to
uint64_t.
ERRORS
If
dlmodinfo() fails, a subsequent call to
dlerrno() returns one of the following values:
[RTLD_ERR_NO_MEMORY] Out of memory.
[RTLD_ERR_CANT_APPLY_RELOC]
Cannot apply relocation in library.
[RTLD_ERR_INV_BUFFER_ARGUMENT]
Invalid descriptor argument
[RTLD_ERR_INV_ADDRESS] Invalid address.
[RTLD_ERR_INV_DESC_VERSION]
Invalid descriptor version.
[RTLD_ERR_SIGINHIBIT_FAILED]
siginhibit failed on entry to dlmodinfo() .
[RTLD_ERR_SIGENABLE_FAILED]
sigenable failed on exit from dlmodinfo() .
[RTLD_ERR_READ_TGT_MEM_FAILED]
read_tgt_mem failed in reading target memory.
[RTLD_ERR_SETCANCELSTATE_FAILED]
__thread_setcancelstate
failed on entry to or exit from
dlmodinfo() .
AUTHOR
dlmodinfo() 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 dlopen().
dlerror(3C) Returns the last error message recorded by dld.
dlerrno(3C) Returns an error code for the last error recorded by dld.
dlget(3C) Returns information about a loaded module.
dlgetname(3C) Returns the name of the storage containing a load module.
dlopen(3C) Loads a shared library.
dlsym(3C) Gets the address of a symbol in a shared library.
Texts an d Tu tor ials
HP-UX Linker and Libraries Online User Guide
(See the +help option)
HP-UX Linker and Libraries User’s Guide
(See manuals(5) for ordering information)
Section 3170 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005