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
|
again, saving its return value into a variable, and check whether
|
||||||
this saved value is not NULL.
|
this saved value is not NULL.
|
||||||
.PP
|
.PP
|
||||||
There are two special pseudo-handles,
|
There are two special pseudo-handles:
|
||||||
|
.TP
|
||||||
.B RTLD_DEFAULT
|
.B RTLD_DEFAULT
|
||||||
and
|
Find the first occurrence of the desired symbol
|
||||||
.BR RTLD_NEXT .
|
|
||||||
The former will find the first occurrence of the desired symbol
|
|
||||||
using the default library search order.
|
using the default library search order.
|
||||||
The latter
|
.TP
|
||||||
will find the next occurrence of a function in the search order
|
.BR RTLD_NEXT
|
||||||
|
Find the next occurrence of a function in the search order
|
||||||
after the current library.
|
after the current library.
|
||||||
This allows one to provide a wrapper
|
This allows one to provide a wrapper
|
||||||
around a function in another shared library.
|
around a function in another shared library.
|
||||||
|
|
Loading…
Reference in New Issue