Name

list_is_singular — tests whether a list has just one entry.

Synopsis

int list_is_singular (const struct list_head *  head);

Arguments

head

the list to test.