Debian Codegraph @

docs/api_reference/C/envfullversion.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>db_full_version</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C API Reference" />
10 <link rel="up" href="env.html" title="Chapter 5.  The DB_ENV Handle" />
11 <link rel="prev" href="envfileid_reset.html" title="DB_ENV-&gt;fileid_reset()" />
12 <link rel="next" href="envget_create_dir.html" title="DB_ENV-&gt;get_create_dir()" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">db_full_version</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="envfileid_reset.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 5. 
26 The DB_ENV Handle
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="envget_create_dir.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="envfullversion"></a>db_full_version</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 char *
44 db_full_version(int *family, int *release, int *major, int *minor,
45 int *patch); </pre>
46 <p>
47 The
48 <code class="methodname">db_full_version()</code>
49
50 method returns a pointer to a string, suitable for
51 display, containing Berkeley DB version information. The string
52 includes Oracle family and release numbers, as well as
53 Berkeley DB's traditional major, minor, and patch numbers.
54 </p>
55 <div class="sect2" lang="en" xml:lang="en">
56 <div class="titlepage">
57 <div>
58 <div>
59 <h3 class="title"><a id="idp51421160"></a>Parameters</h3>
60 </div>
61 </div>
62 </div>
63 <div class="sect3" lang="en" xml:lang="en">
64 <div class="titlepage">
65 <div>
66 <div>
67 <h4 class="title"><a id="idp51409288"></a>family</h4>
68 </div>
69 </div>
70 </div>
71 <p>
72 If <span class="bold"><strong>family</strong></span>
73 is non-NULL, the Oracle family number of the
74 Berkeley DB release is copied to the memory
75 to which it refers.
76 </p>
77 </div>
78 <div class="sect3" lang="en" xml:lang="en">
79 <div class="titlepage">
80 <div>
81 <div>
82 <h4 class="title"><a id="idp51430000"></a>release</h4>
83 </div>
84 </div>
85 </div>
86 <p>
87 If <span class="bold"><strong>release</strong></span>
88 is non-NULL, the Oracle release number of
89 the Berkeley DB release is copied to the
90 memory to which it refers.
91 </p>
92 </div>
93 <div class="sect3" lang="en" xml:lang="en">
94 <div class="titlepage">
95 <div>
96 <div>
97 <h4 class="title"><a id="idp51424792"></a>major</h4>
98 </div>
99 </div>
100 </div>
101 <p>
102 If <span class="bold"><strong>major</strong></span> is non-NULL, the major
103 version of the Berkeley DB release is copied to the memory to which it
104 refers.
105 </p>
106 </div>
107 <div class="sect3" lang="en" xml:lang="en">
108 <div class="titlepage">
109 <div>
110 <div>
111 <h4 class="title"><a id="idp51407264"></a>minor</h4>
112 </div>
113 </div>
114 </div>
115 <p>
116 If <span class="bold"><strong>minor</strong></span> is non-NULL, the minor
117 version of the Berkeley DB release is copied to the memory to which it
118 refers.
119 </p>
120 </div>
121 <div class="sect3" lang="en" xml:lang="en">
122 <div class="titlepage">
123 <div>
124 <div>
125 <h4 class="title"><a id="idp51436840"></a>patch</h4>
126 </div>
127 </div>
128 </div>
129 <p>
130 If <span class="bold"><strong>patch</strong></span> is non-NULL, the patch
131 version of the Berkeley DB release is copied to the memory to which it
132 refers.
133 </p>
134 </div>
135 </div>
136 <div class="sect2" lang="en" xml:lang="en">
137 <div class="titlepage">
138 <div>
139 <div>
140 <h3 class="title"><a id="idp51419112"></a>Class</h3>
141 </div>
142 </div>
143 </div>
144 <p>
145 <a class="link" href="env.html" title="Chapter 5.  The DB_ENV Handle">DB_ENV</a>
146 </p>
147 </div>
148 <div class="sect2" lang="en" xml:lang="en">
149 <div class="titlepage">
150 <div>
151 <div>
152 <h3 class="title"><a id="idp51426320"></a>See Also</h3>
153 </div>
154 </div>
155 </div>
156 <p>
157 <a class="xref" href="env.html#envlist" title="Database Environments and Related Methods">Database Environments and Related Methods</a>
158 </p>
159 </div>
160 </div>
161 <div class="navfooter">
162 <hr />
163 <table width="100%" summary="Navigation footer">
164 <tr>
165 <td width="40%" align="left"><a accesskey="p" href="envfileid_reset.html">Prev</a> </td>
166 <td width="20%" align="center">
167 <a accesskey="u" href="env.html">Up</a>
168 </td>
169 <td width="40%" align="right"> <a accesskey="n" href="envget_create_dir.html">Next</a></td>
170 </tr>
171 <tr>
172 <td width="40%" align="left" valign="top">DB_ENV-&gt;fileid_reset() </td>
173 <td width="20%" align="center">
174 <a accesskey="h" href="index.html">Home</a>
175 </td>
176 <td width="40%" align="right" valign="top"> DB_ENV-&gt;get_create_dir()</td>
177 </tr>
178 </table>
179 </div>
180 </body>
181 </html>