qb_list_empty(3)

qb_list_empty3

A quick test to see if the list is empty (pointing to it's self).

Usage

#include <qb/qblist.h>

static int32_t qb_list_empty(
    const struct qb_list_head   *head   /* pointer to the list head */
);

Params

head pointer to the list head

Overview

Structures

struct qb_list_head {
    struct   next;
    struct   prev;
};

Return value

boolean true/false

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.