qb_list_is_last - Man Page

Tests whether list is the last entry in list head.

Synopsis

#include <qb/qblist.h>

static int qb_list_is_last(
    const struct qb_list_head   *list,   /* the entry to test */
    const struct qb_list_head   *head   /* the head of the list */
);

Params

list the entry to test

head the head of the list

Description

Structures

struct qb_list_head {


    struct   next;

    struct   prev;
};

Return Value

boolean true/false

See Also

qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3), qb_list_splice_tail(3), qb_list_length(3), qb_list_replace(3), qb_list_init(3), qb_list_splice(3), qb_list_del(3)

Referenced By

qb_list_add(3), qb_list_add_tail(3), qb_list_del(3), qb_list_empty(3), qblist.h(3), qb_list_init(3), qb_list_length(3), qb_list_replace(3), qb_list_splice(3), qb_list_splice_tail(3).

2022-03-23 libqb Programmer's Manual