BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

khash_location - return the location of the entry within hash

LIBRARY CALL

long khash_location(
  khash *hash,
  <type>  entry)

INPUT

OUTPUT

none

RETURN VALUE

The index of the entry or -1 if the entry is not found or is not valid.

DESCRIPTION

This function returns the location within the hash of the entry. This is sometimes useful when the index is needed for temporary amount of time.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/hash.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.