DB_ENV->get_intermediate_dir_mode()

#include <db.h>

int
DB_ENV->get_intermediate_dir_mode(DB_ENV *dbenv, const char **modep);  

The DB_ENV->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 DB_ENV->set_intermediate_dir_mode() method is called.

The DB_ENV->get_intermediate_dir_mode() method may be called at any time during the life of the application.

The DB_ENV->get_intermediate_dir_mode() method returns a non-zero error value on failure and 0 on success.

Parameters

modep

The DB_ENV->get_intermediate_dir_mode() method returns a reference to the intermediate directory permissions in modep.

Class

DB_ENV

See Also

Database Environments and Related Methods