mirror of https://github.com/mkerrisk/man-pages
dlopen.3: Amend error in description of dlclose() behavior
The current text says that unloading depends on whether the reference count falls to zero *and no other libraries are using symbols in this library*. That latter text has been there since man-pages-1.29, but it seems rather dubious. How could the implementation know whether other libraries are still using symbols in this library? Furthermore, no other implementation's man page mentions this point. Seems best to drop this point. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cf2789f1c2
commit
4a1af09bd1
|
@ -279,8 +279,8 @@ The function
|
|||
.BR dlclose ()
|
||||
decrements the reference count on the dynamic library handle
|
||||
.IR handle .
|
||||
If the reference count drops to zero and no other loaded libraries use
|
||||
symbols in it, then the dynamic library is unloaded.
|
||||
If the reference count drops to zero,
|
||||
then the dynamic library is unloaded.
|
||||
.LP
|
||||
The function
|
||||
.BR dlclose ()
|
||||
|
|
Loading…
Reference in New Issue