1QB_LIST_IS_LAST(3) libqb Programmer's Manual QB_LIST_IS_LAST(3)
2
3
4
6 qb_list_is_last - Tests whether list is the last entry in list head.
7
8
10 #include <qb/qblist.h>
11
12 static int qb_list_is_last(
13 const struct qb_list_head *list, /* the entry to test */
14 const struct qb_list_head *head /* the head of the list */
15 );
16
18 list the entry to test
19
20 head the head of the list
21
24 struct qb_list_head {
25 struct next;
26 struct prev;
27 };
28
30 boolean true/false
31
33 qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
34 qb_list_splice_tail(3), qb_list_length(3), qb_list_replace(3),
35 qb_list_init(3), qb_list_splice(3), qb_list_del(3)
36
38 Copyright (C) 2010-2020 Red Hat, Inc.
39
40
41
42LIBQB 2021-11-12 QB_LIST_IS_LAST(3)