GetNodeCount

Counts the number of nodes in a list.

Synopsis

uint32 GetNodeCount(const List *l);

Description

This function counts the number of nodes currently in the list.

Arguments

l
A pointer to the list to count the nodes of.

Return Value

The number of nodes in the list.

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

list.h
ANSI C Prototype
clib.lib
ARM Link Library

Caveats

GIGO (garbage in, garbage out)

See Also

AddHead(), AddTail(), InsertNodeFromHead(), InsertNodeFromTail(), RemHead(), RemNode(), RemTail()