# db_version |

`

###

    #include <db.h>

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

# Description

The db_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 to which it refers. If minor is non-NULL, the minor version of the Berkeley DB release is stored in the memory to which it refers. If patch is non-NULL, the patch version of the Berkeley DB release is stored in the memory to which it refers.

# Class

DB_ENV

# See Also

Database Environments and Related Methods`

Copyright Sleepycat Software