diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-07-03 14:06:23 +0200 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-08-08 17:35:43 +0200 |
commit | 70476aa4c8ab20a79523e165b2c6e25a1cb8587d (patch) | |
tree | 6bcf716656ac34bbabe0427c27376d0b4cecac0d | |
parent | ccc70c8135315a1abffa69156469f2a9def589e6 (diff) | |
download | man-pages-70476aa4c8ab20a79523e165b2c6e25a1cb8587d.tar.gz |
dl_iterate_phdr.3: Note that 'size' allows callback() to discover structure extensions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/dl_iterate_phdr.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3 index 4cbebd824a..d91d0ecd3d 100644 --- a/man3/dl_iterate_phdr.3 +++ b/man3/dl_iterate_phdr.3 @@ -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. |