Name

list_is_singular — tests whether a list has just one entry.

Synopsis

int list_is_singular (const struct list_head * head);
 

Arguments

const struct list_head * head

the list to test.