LIST_IS_SINGULAR(9) Data Types LIST_IS_SINGULAR(9)NAMElist_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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 LIST_IS_SINGULAR(9)