BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

klist_locate - locate an entry in the linked list

LIBRARY CALL

klist *klist_locate(
   klist *list,
   kaddr identifier)

INPUT

OUTPUT

none

RETURN VALUE

The item's klist entry or NULL if the identifier is not found.

DESCRIPTION

Tries to locate an entry on the linked list. This is done by racing thru the linked list until the desired identifier is found or the end of the list is encountered. If the identifier exists then the klist structure is returned. If the identifier doesn't exist then NULL is returned.

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.