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

NAME

6       qb_list_length - Count the number of items in the list.
7
8

SYNOPSIS

10       #include <qb/qblist.h>
11
12       static int32_t qb_list_length(
13           struct qb_list_head   *head   /* the head for your list. */
14       );
15

PARAMS

17       head the head for your list.
18

DESCRIPTION

STRUCTURES

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

RETURN VALUE

27       length of the list.
28

SEE ALSO

30       qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
31       qb_list_splice_tail(3), qb_list_replace(3), qb_list_init(3),
32       qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
33
35       Copyright (C) 2010-2020 Red Hat, Inc.
36
37
38
39LIBQB                             2023-07-21                 QB_LIST_LENGTH(3)
Impressum