list_is_singular(9) 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