Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

qb_list_empty - A quick test to see if the list is empty (pointing to it's self).

Description

Name

       qb_list_empty - A quick test to see if the list is empty (pointing to it's self).

Params

headpointertothelisthead

Return Value

       boolean true/false

See Also

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

Structures

structqb_list_head{structnext;structprev;};

Synopsis

#include<qb/qblist.h>staticint32_tqb_list_empty(
           conststructqb_list_head*head   /* pointer to the list head */
       );

See Also