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

d
dlmodremove(3C) dlmodremove(3C)
NAME
dlmodremove - remove information registered using dlmodadd
SYNOPSIS
cc [flag ... ] file ...
-ldl [library] ...
#include <dlfcn.h>
int dlmodremove(void* handle);
DESCRIPTION
dlmodremove removes the registered information of individual dynamically generated functions.
handle must be a handle returned by
dlmodadd()
.
The
dlmodadd() removes the registration of the indicated function, and frees the space used by the
unwind header and unwind table created by dlmodadd()
. It will not free the space used by the unwind
info block or by the generated code, which was allocated by the user, and must be freed by the user.
RETURN VALUE
The
dlmodremove routine returns 0 on success. If handle does not refer to a valid handle,
dlmo-
dremove returns a non-0 value.
MULTITHREAD USAGE
This routine is thread-safe.
AUTHOR
dlmodadd was developed by HP.
SEE ALSO
ld(1), dlerror(3C), dlmodremove(3C), a.out(4), dld.so(5).
Texts and Tutorials:
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 3214 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004