---
name: "list_for_each_entry_safe"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/list_for_each_entry_safe"
---

# list\_for\_each\_entry\_safe(9)

iterate over list of given type safe against removal of list entry

## NAME

list\_for\_each\_entry\_safe - iterate over list of given type safe against removal of list entry

## SYNOPSIS

**list\_for\_each\_entry\_safe(***pos***,** *n***,** *head***,** *member***);**

## ARGUMENTS

*pos*

the type \* to use as a loop cursor.

*n*

another type \* to use as temporary storage

*head*

the head for your list.

*member*

the name of the list\_head within the struct.

## COPYRIGHT
