int kdbm_write(
kdbm *dbf,
kdatum key,
kaddr data,
int num,
int type)
INPUT
dbf - open database file pointer
key - data base key to write to
data - data to write to key
num - number of data items to write
type - type of data to write out
OUTPUT
none
RETURN VALUE
the number of data points actually written, or -1 upon error
DESCRIPTION
Add a new element to the database. CONTENT is keyed
by KEY. The file on disk is updated to reflect the
structure of the new database before returning from
this procedure. This routine is similar to kdbm_store
except that it allows incremental writes to this key
in the database.
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.