db_full_version
Prev | Chapter 5. The DB_ENV Handle | Next

## db_full_version

    #include <db.h>

    char *
    db_full_version(int *family, int *release, int *major, int *minor,
                    int *patch);

The `db_full_version()` method returns a pointer to a string, suitable for display, containing Berkeley DB version information. The string includes Oracle family and release numbers, as well as Berkeley DB's traditional major, minor, and patch numbers.

### Parameters

#### family

If family is non-NULL, the Oracle family number of the Berkeley DB release is copied to the memory to which it refers.

#### release

If release is non-NULL, the Oracle release number of the Berkeley DB release is copied to the memory to which it refers.

#### major

If major is non-NULL, the major version of the Berkeley DB release is copied to the memory to which it refers.

#### minor

If minor is non-NULL, the minor version of the Berkeley DB release is copied to the memory to which it refers.

#### patch

If patch is non-NULL, the patch version of the Berkeley DB release is copied to the memory to which it refers.

### Class

DB_ENV

### See Also

Database Environments and Related Methods

Prev | Up | Next
DB_ENV->fileid_reset() | Home | DB_ENV->get_create_dir()