SysTutorials

Linux Manual Pages › Section 9

list_is_singular(9)

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.

Copyright