]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
dl_iterate_phdr.3: Note that 'size' allows callback() to discover structure extensions
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 3 Jul 2015 12:06:23 +0000 (14:06 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 8 Aug 2015 15:35:43 +0000 (17:35 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/dl_iterate_phdr.3

index 4cbebd824ab839478564fdedbfcfc3bfe1828833..d91d0ecd3d5cd86c971df86ca40aa768559ca6b6 100644 (file)
@@ -171,6 +171,13 @@ T} Thread safety   MT-Safe
 The
 .BR dl_iterate_phdr ()
 function is Linux-specific and should be avoided in portable applications.
+.SH NOTES
+Future versions of the C library may add further fields to the
+.IR dl_phdr_info
+structure; in that event, the
+.I size
+argument provides a mechanism for the callback function to discover
+whether it is running on a system with added fields.
 .SH EXAMPLE
 The following program displays a list of pathnames of the
 shared objects it has loaded.