ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++">
#include <db.h>int db_value_set(int value, int which);
The db_value_set function enables applications to specify the behavior of underlying Berkeley DB library functionality. The which argument specifies the information being set by the argument value.
The following values of which are supported:
In addition, as a byte is written to each page, the underlying virtual
memory and file systems are forced to instantiate both the necessary
memory and the necessary disk space. This is useful in order to avoid
out-of-disk space failures later on.
This value defaults to 1 on uniprocessor systems and to 50 times the number
of processors on multiprocessor systems.]
The db_value_set function returns the value of errno on failure, and 0 on success.