#include <db_cxx.h> int DbEnv::get_intermediate_dir_mode(u_int32_t *modep);
The DbEnv::get_intermediate_dir_mode()
method returns the
intermediate directory permissions.
Intermediate directories are directories needed for recovery. Normally, Berkeley DB does not create these directories and will do so only if the DbEnv::set_intermediate_dir_mode() method is called.
The DbEnv::get_intermediate_dir_mode()
method may be called at any
time during the life of the application.
The DbEnv::get_intermediate_dir_mode()
method returns a non-zero
error value on failure and 0 on success.