list_count function <BLOC/list.h>

The list_count function counts the number of items in a list.

Syntax

unsigned int
list_count(
	List *list
);

Parameters

list

A pointer to a List object.

Return value

The number of items in the list.