Name

list_is_last — tests whether list is the last entry in list head

Synopsis

int list_is_last (const struct list_head * list,
 const struct list_head * head);
 

Arguments

const struct list_head * list

the entry to test

const struct list_head * head

the head of the list