.\" Automatically generated man page, do not edit .TH QB_LIST_LENGTH 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_list_length \- Count the number of items in the list. .SH SYNOPSIS .nf .B #include .sp \fBstatic int32_t qb_list_length\fP( \fBstruct qb_list_head *\fP\fIhead\fP\fR /* the head for your list. */ ); .fi .SH PARAMS \fBhead \fP\fIthe head for your list. \fP .PP .SH DESCRIPTION .SH STRUCTURES .nf \fB struct qb_list_head { \fR \fB \fBstruct \fP\fInext\fP; \fB \fBstruct \fP\fIprev\fP; }; \fP .fi .PP .RE .SH RETURN VALUE .PP length of the list. .PP .SH SEE ALSO .PP .nh .ad l \fIqb_list_empty\fR(3), \fIqb_list_add_tail\fR(3), \fIqb_list_add\fR(3), \fIqb_list_splice_tail\fR(3), \fIqb_list_replace\fR(3), \fIqb_list_init\fR(3), \fIqb_list_splice\fR(3), \fIqb_list_is_last\fR(3), \fIqb_list_del\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc.