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

list

the entry to test

head

the head of the list