aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 23:39:07 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 23:39:07 +0100
commiteda8a717cc5830e3b73e97ec64e352b6c54eceb4 (patch)
tree89834800cf401ddd64ef3c4ad0d4cf734c335858
parent176213b2df09ae5078f2e5dd4ceb39175848e2f6 (diff)
downloadman-pages-eda8a717cc5830e3b73e97ec64e352b6c54eceb4.tar.gz
dladdr.3, dlerror.3, dlinfo.3, dlopen.3, dlsym.3: Add LIBRARY section (libdl)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/dladdr.35
-rw-r--r--man3/dlerror.35
-rw-r--r--man3/dlinfo.35
-rw-r--r--man3/dlopen.35
-rw-r--r--man3/dlsym.35
5 files changed, 15 insertions, 10 deletions
diff --git a/man3/dladdr.3 b/man3/dladdr.3
index a956d3ae79..217daeba17 100644
--- a/man3/dladdr.3
+++ b/man3/dladdr.3
@@ -6,6 +6,9 @@
.TH DLADDR 3 2021-03-22 "Linux" "Linux Programmer's Manual"
.SH NAME
dladdr, dladdr1 \- translate address to symbolic information
+.SH LIBRARY
+Dynamic linking library
+.RI ( libdl ", " \-ldl )
.SH SYNOPSIS
.nf
.B #define _GNU_SOURCE
@@ -14,8 +17,6 @@ dladdr, dladdr1 \- translate address to symbolic information
.BI "int dladdr(const void *" addr ", Dl_info *" info );
.BI "int dladdr1(const void *" addr ", Dl_info *" info ", void **" extra_info ,
.BI " int " flags );
-.PP
-Link with \fI\-ldl\fP.
.fi
.SH DESCRIPTION
The function
diff --git a/man3/dlerror.3 b/man3/dlerror.3
index 8bdd1b887e..432e85a3a4 100644
--- a/man3/dlerror.3
+++ b/man3/dlerror.3
@@ -6,13 +6,14 @@
.TH DLERROR 3 2021-03-22 "Linux" "Linux Programmer's Manual"
.SH NAME
dlerror \- obtain error diagnostic for functions in the dlopen API
+.SH LIBRARY
+Dynamic linking library
+.RI ( libdl ", " \-ldl )
.SH SYNOPSIS
.nf
.B #include <dlfcn.h>
.PP
.B "char *dlerror(void);"
-.PP
-Link with \fI\-ldl\fP.
.fi
.SH DESCRIPTION
The
diff --git a/man3/dlinfo.3 b/man3/dlinfo.3
index 5522bcb46f..e925ebbd06 100644
--- a/man3/dlinfo.3
+++ b/man3/dlinfo.3
@@ -5,6 +5,9 @@
.TH DLINFO 3 2021-03-22 "Linux" "Linux Programmer's Manual"
.SH NAME
dlinfo \- obtain information about a dynamically loaded object
+.SH LIBRARY
+Dynamic linking library
+.RI ( libdl ", " \-ldl )
.SH SYNOPSIS
.nf
.B #define _GNU_SOURCE
@@ -13,8 +16,6 @@ dlinfo \- obtain information about a dynamically loaded object
.PP
.BR "int dlinfo(void *restrict " handle ", int " request \
", void *restrict " info );
-.PP
-Link with \fI\-ldl\fP.
.fi
.SH DESCRIPTION
The
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index 5281343af5..eb38930400 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -17,6 +17,9 @@
.SH NAME
dlclose, dlopen, dlmopen \-
open and close a shared object
+.SH LIBRARY
+Dynamic linking library
+.RI ( libdl ", " \-ldl )
.SH SYNOPSIS
.nf
.B #include <dlfcn.h>
@@ -30,8 +33,6 @@ open and close a shared object
.PP
.BI "void *dlmopen(Lmid_t " lmid ", const char *" filename ", int " flags );
.fi
-.PP
-Link with \fI\-ldl\fP.
.SH DESCRIPTION
.SS dlopen()
The function
diff --git a/man3/dlsym.3 b/man3/dlsym.3
index 59d868e457..6123c821da 100644
--- a/man3/dlsym.3
+++ b/man3/dlsym.3
@@ -6,6 +6,9 @@
.TH DLSYM 3 2021-03-22 "Linux" "Linux Programmer's Manual"
.SH NAME
dlsym, dlvsym \- obtain address of a symbol in a shared object or executable
+.SH LIBRARY
+Dynamic linking library
+.RI ( libdl ", " \-ldl )
.SH SYNOPSIS
.nf
.B #include <dlfcn.h>
@@ -17,8 +20,6 @@ dlsym, dlvsym \- obtain address of a symbol in a shared object or executable
.PP
.BI "void *dlvsym(void *restrict " handle ", const char *restrict " symbol ,
.BI " const char *restrict " version );
-.PP
-Link with \fI\-ldl\fP.
.fi
.SH DESCRIPTION
The function