2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB: DbEnv::version</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
15
<h1>DbEnv::version</h1>
18
<a href="../api_cxx/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
23
#include <db_cxx.h>
26
DbEnv::version(int *major, int *minor, int *patch);
29
<p>The DbEnv::version method returns a pointer to a string containing
30
Berkeley DB version information. If <b>major</b> is non-NULL, the major
31
version of the Berkeley DB release is stored in the memory to which it refers.
32
If <b>minor</b> is non-NULL, the minor version of the Berkeley DB release
33
is stored in the memory to which it refers. If <b>patch</b> is
34
non-NULL, the patch version of the Berkeley DB release is stored in the
35
memory to which it refers.
37
<a href="../api_cxx/env_class.html">DbEnv</a>
39
<a href="../api_cxx/env_list.html">Database Environments and Related Methods</a>
41
<table width="100%"><tr><td><br></td><td align=right>
42
<a href="../api_cxx/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
44
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>