-.\" $OpenBSD: dlfcn.3,v 1.32 2022/08/20 14:14:24 sthen Exp $
+.\" $OpenBSD: dlfcn.3,v 1.33 2022/12/05 23:14:03 jmc Exp $
.\" $NetBSD: dlfcn.3,v 1.3 1996/01/09 19:43:34 pk Exp $
.\"
.\" Copyright (c) 1995 Paul Kranenburg
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 20 2022 $
+.Dd $Mdocdate: December 5 2022 $
.Dt DLOPEN 3
.Os
.Sh NAME
.El
.Pp
One of the following values may be used to specify symbol visibility:
-.Pp
-.Bl -tag -width "RTLD_GLOBAL" -compact -offset indent
+.Bl -tag -width "RTLD_GLOBAL" -offset indent
.It Sy RTLD_GLOBAL
The object's symbols and the symbols of its dependencies will be visible to
other objects.
then it is promoted to RTLD_GLOBAL.
.Pp
Additionally, the following flag may be ORed into the mode argument:
-.Pp
-.Bl -tag -width "RTLD_NODELETE" -compact -offset indent
+.Bl -tag -width "RTLD_NODELETE" -offset indent
.It Sy RTLD_NODELETE
Prevents unload of the loaded object on
.Fn dlclose .
dependencies without calling
.Fn dlopen .
.It Sy RTLD_DEFAULT
-All the visible shared objects and the executable will be searched in the order they
-were loaded.
+All the visible shared objects and the executable will be searched
+in the order they were loaded.
.It Sy RTLD_NEXT
The search for
.Fa symbol
-is limited to the visible shared objects which were loaded after the one issuing the
-call to
+is limited to the visible shared objects which were loaded
+after the one issuing the call to
.Fn dlsym .
Thus, if
.Fn dlsym