BOOTSTRAP (klibdb) functions


LIBRARY ROUTINE

kdbm_firstkey - get the first key in the database

LIBRARY CALL

kdatum kdbm_firstkey(
     kdbm *dbf)

INPUT

OUTPUT

none

RETURN VALUE

The first key of the database. If dbf is NULL, or there are no keys in the database, the returned key.dsize and key.dptr will be 0 and NULL respectively.

DESCRIPTION

Find the first key in the database, and return it to the user.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibdb/src/kdbm.c

SEE ALSO

klibdb(3)

COPYRIGHT

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