qb_list_empty - Man Page

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

Synopsis

#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

Description

Structures

struct qb_list_head {


    struct   next;

    struct   prev;
};

Return Value

boolean true/false

See Also

qb_list_add_tail(3), qb_list_add(3), qb_list_splice_tail(3), qb_list_length(3), qb_list_replace(3), qb_list_init(3), qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)

Referenced By

qb_list_add(3), qb_list_add_tail(3), qb_list_del(3), qblist.h(3), qb_list_init(3), qb_list_is_last(3), qb_list_length(3), qb_list_replace(3), qb_list_splice(3), qb_list_splice_tail(3).

2023-07-21 libqb Programmer's Manual