Berkeley DB: db_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++

# 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

db_appexit, db_appinit, db_version, DB->close, DB->cursor, DB->del, DB->fd, DB->get, db_open, DB->put, DB->stat, DB->sync, DBcursor->c_close, DBcursor->c_del, DBcursor->c_get and DBcursor->c_put.`