list_is_singular(9)

list_is_singular9

Tests whether a list has just one entry.

Usage

int list_is_singular(const struct list_head * head);

Arguments

head

the list to test.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.