DB_ENV->get_open_flags()
#include <db.h>
int
DB_ENV->get_open_flags(DB_ENV *dbenv, u_int32_t *flagsp); The DB_ENV->get_open_flags() method returns the open method flags originally used to create the database environment.
The DB_ENV->get_open_flags() method may not be called before the DB_ENV->open() method is called.
The DB_ENV->get_open_flags() method returns a non-zero error value on failure and 0 on success.
Parameters
flagsp
The DB_ENV->get_open_flags() method returns the open method flags originally used to create the database environment in flagsp.