aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-07-06 09:58:36 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-08-08 17:35:43 +0200
commitc9629ff8c016f94fa9b9073752a68957a1a5bcae (patch)
treed98eedf23300e943da8ed6182ab70e07153a020d
parent70476aa4c8ab20a79523e165b2c6e25a1cb8587d (diff)
downloadman-pages-c9629ff8c016f94fa9b9073752a68957a1a5bcae.tar.gz
dl_iterate_phdr.3: CONFORMING TO: note that this function appears on some other systems
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/dl_iterate_phdr.313
1 files changed, 12 insertions, 1 deletions
diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3
index d91d0ecd3d..7754c9874d 100644
--- a/man3/dl_iterate_phdr.3
+++ b/man3/dl_iterate_phdr.3
@@ -170,7 +170,18 @@ T} Thread safety MT-Safe
.SH CONFORMING TO
The
.BR dl_iterate_phdr ()
-function is Linux-specific and should be avoided in portable applications.
+function is not specified in any standard.
+Various other systems provide a version of this function,
+although details of the returned
+.I dl_phdr_info
+structure differ.
+On the BSDs and Solaris, the structure includes the fields
+.IR dlpi_addr ,
+.IR dlpi_name ,
+.IR dlpi_phdr ,
+and
+.IR dlpi_phnum
+in addition to other implementation-specific fields.
.SH NOTES
Future versions of the C library may add further fields to the
.IR dl_phdr_info