![]() | ![]() | ![]() | [Insert name here] Reference Manual | ![]() |
---|
#define LIST_HEAD_INIT (name) #define LIST_HEAD (name) #define INIT_LIST_HEAD (ptr) #define list_entry (ptr, type, member) #define list_for_each (pos, head) #define list_for_each_safe (pos, n, head) #define list_for_each_reversed (pos, head) #define list_for_each_reversed_safe (pos, n, head)
#define list_entry(ptr, type, member)
ptr : | the &struct list_head pointer. |
type : | the type of the struct this is embedded in. |
member : | the name of the list_struct within the struct. |
#define list_for_each(pos, head)
pos : | the &struct list_head to use as a loop counter. |
head : | the head for your list. |
<<< prelude-getopt-wide | sensor >>> |