#include <db.h> int DB_ENV->get_tmp_dir(DB_ENV *dbenv, const char **dirp);
The DB_ENV->get_tmp_dir()
method returns the database environment
temporary file directory.
The DB_ENV->get_tmp_dir()
method may be called at any time during the
life of the application.
The DB_ENV->get_tmp_dir()
method returns a non-zero error value on failure and 0 on success.