1QB_LIST_LENGTH(3) libqb Programmer's Manual QB_LIST_LENGTH(3)
2
3
4
6 qb_list_length - Count the number of items in the list.
7
9 #include <qb/qblist.h>
10
11 static int32_t qb_list_length(
12 struct qb_list_head *head
13 );
14
16 head the head for your list.
17
20 struct qb_list_head {
21 struct next;
22 struct prev;
23 };
24
26 length of the list.
27
29 qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
30 qb_list_splice_tail(3), qb_list_replace(3), qb_list_init(3),
31 qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
32
34 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
35
36
37
38LIBQB 2020-07-30 QB_LIST_LENGTH(3)