BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

klist_head - locate the head of the linked list

LIBRARY CALL

klist *klist_head(
   klist *list)

INPUT

OUTPUT

none

RETURN VALUE

The item's head entry or NULL if the current list does not exist.

DESCRIPTION

Tries to locate the head of the linked list. This is done by taking to current position and racing up the previous links until the head is found. The head klist structure is returned, NULL if the list is currently empty.

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.