From fd05b812a759bbd56243951f424724cc52b6f5bd Mon Sep 17 00:00:00 2001 From: edd Date: Fri, 24 Aug 2018 13:14:14 +0000 Subject: [PATCH] /tmp/cvsJqyynm --- share/man/man3/dl_iterate_phdr.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/share/man/man3/dl_iterate_phdr.3 b/share/man/man3/dl_iterate_phdr.3 index 92ed59240b1..abd66d55ecf 100644 --- a/share/man/man3/dl_iterate_phdr.3 +++ b/share/man/man3/dl_iterate_phdr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dl_iterate_phdr.3,v 1.4 2013/06/05 03:42:03 tedu Exp $ +.\" $OpenBSD: dl_iterate_phdr.3,v 1.5 2018/08/24 13:14:14 edd Exp $ .\" .\" Copyright (c) 2005 Mark Kettenis .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: August 24 2018 $ .Dt DL_ITERATE_PHDR 3 .Os .Sh NAME @@ -34,6 +34,11 @@ for each shared object, passing it information about the object's program headers and the .Fa data argument. +Iteration continues until either there are no more objects to +iterate over or +.Fa callback +returns a non-zero value. +.Pp The information about the program headers is passed in a structure that is defined as: .Bd -literal -- 2.20.1