list_is_singular (9) - Linux Manuals

list_is_singular: tests whether a list has just one entry.

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.

COPYRIGHT