logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

qb_list_splice - Join two lists.

Description

Name

       qb_list_splice - Join two lists.

Note

       The "list" is reinitialised

Params

listthenewlisttoadd.headtheplacetoadditinthefirstlist.

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_is_last(3), qb_list_del(3)

Structures

structqb_list_head{structnext;structprev;};

Synopsis

#include<qb/qblist.h>staticvoidqb_list_splice(
           structqb_list_head*list,  /* the new list to add. */
           structqb_list_head*head   /* the place to add it in the first list.*/
       );

See Also