---
name: "__list_for_each"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__list_for_each"
---

# \_\_list\_for\_each(9)

iterate over a list

## NAME

\_\_list\_for\_each - iterate over a list

## SYNOPSIS

**\_\_list\_for\_each(***pos***,** *head***);**

## ARGUMENTS

*pos*

the struct list\_head to use as a loop cursor.

*head*

the head for your list.

## DESCRIPTION

This variant doesn't differ from **list\_for\_each** any more. We don't do prefetching in either case.

## COPYRIGHT
