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

NAME

6       qb_list_is_last - Tests whether list is the last entry in list head.
7
8

SYNOPSIS

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

PARAMS

18       list the entry to test
19
20       head the head of the list
21

DESCRIPTION

STRUCTURES

24       struct qb_list_head {
25           struct   next;
26           struct   prev;
27       };
28

RETURN VALUE

30       boolean true/false
31

SEE ALSO

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                             2022-03-23                QB_LIST_IS_LAST(3)
Impressum