# db_version

`

###

    #include <db.h>

    char *
    db_version(int *major, int *minor, int *patch);

# Description

The db_version function 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.

# See Also

DBENV->close, db_env_create, DBENV->open, DBENV->remove, DBENV->err, db_strerror, db_version, DBENV->set_cachesize, DBENV->set_errcall, DBENV->set_errfile, DBENV->set_errpfx, DBENV->set_paniccall, and DBENV->set_verbose.`

Copyright Sleepycat Software