Scroll to navigation

LIST_IS_SINGULAR(9) Data Types LIST_IS_SINGULAR(9)

NAME

list_is_singular - tests whether a list has just one entry.

SYNOPSIS

int list_is_singular(const struct list_head * head);

ARGUMENTS

const struct list_head * head
the list to test.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11