Name
list_size
Synopsis
int list_size(const List *list
);
Return Value
Number of elements in the list.
Description
Macro that evaluates to the number of elements in
the linked list specified by
list
.
Complexity
O (1)
Get Mastering Algorithms with C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.