BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

klist_checktail - check if the current entry is the tail of the list

LIBRARY CALL

int klist_checktail(
   klist *list)

INPUT

OUTPUT

none

RETURN VALUE

return TRUE if the entry is the tail of the link list, otherwise FALSE is returned

DESCRIPTION

This routine simply returns whether the current entry is the tail of the link list. If the entry is the tail then TRUE is returned otherwise FALSE is returned. This is helpful since if a link list is circular you cannot rely on the next 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.