BOOTSTRAP (
kutils
) functions
LIBRARY ROUTINE
klist_size - compute the size or number of entries in the list
LIBRARY CALL
size_t klist_size( klist *list)
INPUT
list
- The current linked list to count the number entries for.
OUTPUT
none
RETURN VALUE
The number of entries or zero if a NULL list is passed in.
DESCRIPTION
Given a list will indicate how many entries are on the list. This is done by counting the number of entries until the tail entry is reached.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/list.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.