qb_list_add - Add this element to the list.
Contents
Copyright
Copyright (C) 2010-2020 Red Hat, Inc.
LIBQB 2023-07-21 QB_LIST_ADD(3)
Description
Name
qb_list_add - Add this element to the list.
Params
elementthenewelementtoinsert.headpointertothelisthead
See Also
qb_list_empty(3), qb_list_add_tail(3), qb_list_splice_tail(3), qb_list_length(3), qb_list_replace(3), qb_list_init(3), qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
Structures
structqb_list_head{structnext;structprev;};Synopsis
#include<qb/qblist.h>staticvoidqb_list_add(
structqb_list_head*element, /* the new element to insert. */
structqb_list_head*head /* pointer to the list head */
);
