'\" t
.\"     Title: list_for_each
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: Data Types
.\"    Source: Kernel Hackers Manual 4.11.3
.\"  Language: English
.\"
.TH "LIST_FOR_EACH" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Data Types"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
list_for_each \- iterate over a list
.SH "SYNOPSIS"
.HP \w'list_for_each('u
.BI "list_for_each(" "pos" ", " "head" ");"
.SH "ARGUMENTS"
.PP
\fI pos\fR
.RS 4
the
struct list_head
to use as a loop cursor\&.
.RE
.PP
\fI head\fR
.RS 4
the head for your list\&.
.RE
.SH "COPYRIGHT"
.br
