int dbm_store(DBM *db, datum key, datum content, int store_mode);
A datum consists of at least two members, dptr and dsize. The dptr member points to an object that is dsize bytes in length. Arbitrary binary data, as well as character strings, may be stored in the object pointed to by dptr.
Points to the database where the record is to be stored. This must be a pointer returned by a prior call to
Is the key for the record to be stored.
Is the record that is to be associated with key in the database.
Controls whether the new record replaces any pre-existing record that has the same key as specified by key. If the database contains a record that matches key and store_mode is DBM_REPLACE, the existing record is replaced with the new record. If the database contains a record that matches key and store_mode is DBM_INSERT, the existing record is not replaced with the new record.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
dbm_clearerr(), dbm_close(), dbm_delete(), dbm_error(), dbm_fetch(), dbm_firstkey(), dbm_nextkey(), dbm_open(), dbopen()
PTC MKS Toolkit 10.3 Documentation Build 39.