mirror of https://github.com/mkerrisk/man-pages
dlopen.3: Reformat text on RTLD_DEFAULT and RTLD_NEXT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cc2ddf2fd5
commit
fad3d64efc
|
@ -263,14 +263,14 @@ and then call
|
|||
again, saving its return value into a variable, and check whether
|
||||
this saved value is not NULL.
|
||||
.PP
|
||||
There are two special pseudo-handles,
|
||||
There are two special pseudo-handles:
|
||||
.TP
|
||||
.B RTLD_DEFAULT
|
||||
and
|
||||
.BR RTLD_NEXT .
|
||||
The former will find the first occurrence of the desired symbol
|
||||
Find the first occurrence of the desired symbol
|
||||
using the default library search order.
|
||||
The latter
|
||||
will find the next occurrence of a function in the search order
|
||||
.TP
|
||||
.BR RTLD_NEXT
|
||||
Find the next occurrence of a function in the search order
|
||||
after the current library.
|
||||
This allows one to provide a wrapper
|
||||
around a function in another shared library.
|
||||
|
|
Loading…
Reference in New Issue