dl_iterate_phdr.3: CONFORMING TO: note that this function appears on some other systems

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-07-06 09:58:36 +02:00
parent 70476aa4c8
commit c9629ff8c0
1 changed files with 12 additions and 1 deletions

View File

@ -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