.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NEXT_DEV" "" "06 October 2005" "" ""
.SH NAME
next_dev \- enumerates registered devices
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct parisc_device * next_dev (struct parisc_device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
the previous device returned from next_dev
.SH "DESCRIPTION"
.PP
next_dev does a depth-first search of the tree, returning parents
before children. Returns NULL when there are no more devices.