SysTutorials

Linux Manual Pages › Section 9

list_for_each(9)

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.

Copyright