diff options
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/dlopen.3 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 331d3162c4..2a32690f71 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -212,7 +212,7 @@ If the executable was linked with the flag "\-rdynamic" then the global symbols in the executable will also be used to resolve references in a dynamically loaded shared object. .PP -If the same shared object is loaded again with +If the same shared object is opened again with .BR dlopen (), the same object handle is returned. The dynamic linker maintains reference @@ -222,7 +222,8 @@ deallocated until has been called on it as many times as .BR dlopen () has succeeded on it. -Any initialization returns (see below) are called just once. +Constructors (see below) are called only when the library is actually loaded +into memory (i.e., when the reference count increases to 1). However, a subsequent .BR dlopen () call that loads the same shared object with |
