-.\" $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
.\"
.\" 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
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