Berkeley DB: DbEnv::version
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# DbEnv::version

`

###

    #include <db_cxx.h>

    static char *
    DbEnv::version(int *major, int *minor, int *patch);

# Description

The DbEnv::version method returns a pointer to a string containing Berkeley DB version information. If major is non-NULL, the major version of the Berkeley DB release is stored in the memory it references. If minor is non-NULL, the minor version of the Berkeley DB release is stored in the memory it references. If patch is non-NULL, the patch version of the Berkeley DB release is stored in the memory it references.

# Class

DbEnv

# See Also

DbEnv::appinit, DbEnv::appexit, DbEnv::version, dbenv_get_data_dir, dbenv_get_errcall, dbenv_get_errfile dbenv_get_error_model, dbenv_get_error_model dbenv_get_error_stream, dbenv_get_errpfx, dbenv_get_flags, dbenv_get_home, DbEnv::get_lg_info, dbenv_get_lg_max, dbenv_get_lk_conflicts, dbenv_get_lk_detect, DbEnv::get_lk_info, dbenv_get_lk_modes, dbenv_get_log_dir, dbenv_get_lorder, DbEnv::get_mp_info, dbenv_get_mp_mmapsize, dbenv_get_mp_size, dbenv_get_tmp_dir, DbEnv::get_tx_info, dbenv_get_tx_max, dbenv_get_tx_recover and dbenv_get_verbose.`