1QB_LIST_EMPTY(3)           libqb Programmer's Manual          QB_LIST_EMPTY(3)
2
3
4

NAME

6       qb_list_empty  -  A quick test to see if the list is empty (pointing to
7       it's self).
8
9

SYNOPSIS

11       #include <qb/qblist.h>
12
13       static int32_t qb_list_empty(
14           const struct qb_list_head   *head   /* pointer to the list head */
15       );
16

PARAMS

18       head pointer to the list head
19

DESCRIPTION

STRUCTURES

22       struct qb_list_head {
23           struct   next;
24           struct   prev;
25       };
26

RETURN VALUE

28       boolean true/false
29

SEE ALSO

31       qb_list_add_tail(3), qb_list_add(3), qb_list_splice_tail(3),
32       qb_list_length(3), qb_list_replace(3), qb_list_init(3),
33       qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
34
36       Copyright (C) 2010-2020 Red Hat, Inc.
37
38
39
40LIBQB                             2022-03-23                  QB_LIST_EMPTY(3)
Impressum