BOOTSTRAP (klibdb) functions


LIBRARY ROUTINE

kdbm_delete - Remove the key and its associated data from the database.

LIBRARY CALL

int kdbm_delete(
     kdbm *dbf,
     kdatum key)

INPUT

OUTPUT

none

RETURN VALUE

0 on success, -1 otherwise

DESCRIPTION

Remove the KEYed item and the KEY from the database DBF. The file on disk is updated to reflect the structure of the new database before returning from this procedure.

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.