BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

klist_locate_clientdata - locate an entry in the linked list according to it's client data

LIBRARY CALL

klist *klist_locate_clientdata(
   klist *list,
   kaddr client_data)

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 according to it's client data, rather than it's identifier. 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.