aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-07-02 14:56:15 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-07-02 14:56:15 +0200
commitcbd8927ff5d85bba6ab37044dcf10f623f429e06 (patch)
tree1be3fb8b3b95418718eaa5b1c8c14634397590d2 /man3
parentdf022779020531671140757592d4153c23dc8cb3 (diff)
downloadman-pages-cbd8927ff5d85bba6ab37044dcf10f623f429e06.tar.gz
dlopen.3: On dlclose(), destructors are called when reference count falls to 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/dlopen.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index 4842c77251..331d3162c4 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -294,7 +294,8 @@ decrements the reference count on the
dynamically loaded shared object referred to by
.IR handle .
If the reference count drops to zero,
-then the object is unloaded.
+then the object is unloaded
+after first calling any destructors defined for the object.
All shared objects that were automatically loaded when
.BR dlopen ()
was invoked on the object referred to by