klist_checkhead - check if the current entry is the head of the list
LIBRARY CALL
int klist_checkhead(
klist *list)
INPUT
list - the list in which we will be returning whether
it is the head of the list or not
OUTPUT
none
RETURN VALUE
return TRUE if the entry is the head of the link list,
otherwise FALSE is returned
DESCRIPTION
This routine simply returns whether the current entry
is the head of the link list. If the entry is the head
then TRUE is returned otherwise FALSE is returned. This
is helpful since if a link list is circular you cannot
rely on the previous value being NULL.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/include/kutils/klist.h
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.