Debian Codegraph @

docs/api_reference/C/envget_home.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_ENV-&gt;get_home()</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="envget_flags.html" title="DB_ENV-&gt;get_flags()" />
12 <link rel="next" href="envget_intermediate_dir_mode.html" title="DB_ENV-&gt;get_intermediate_dir_mode()" />
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_ENV-&gt;get_home()</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="envget_flags.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_intermediate_dir_mode.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="envget_home"></a>DB_ENV-&gt;get_home()</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 int
44 DB_ENV-&gt;get_home(DB_ENV *dbenv, const char **homep); </pre>
45 <p>
46 The <code class="methodname">DB_ENV-&gt;get_home()</code> method returns the database environment home
47 directory. This directory is normally identified when the
48 <a class="xref" href="envopen.html" title="DB_ENV-&gt;open()">DB_ENV-&gt;open()</a>
49 method is called.
50 </p>
51 <p>
52 The <code class="methodname">DB_ENV-&gt;get_home()</code> method may be called at any time during the
53 life of the application.
54 </p>
55 <p>
56 The <code class="methodname">DB_ENV-&gt;get_home()</code> <span>
57 <span>
58 method returns a non-zero error value on failure and 0 on success.
59 </span>
60
61 </span>
62 </p>
63 <div class="sect2" lang="en" xml:lang="en">
64 <div class="titlepage">
65 <div>
66 <div>
67 <h3 class="title"><a id="idp51520712"></a>Class</h3>
68 </div>
69 </div>
70 </div>
71 <p>
72 <a class="link" href="env.html" title="Chapter 5.  The DB_ENV Handle">DB_ENV</a>
73 </p>
74 </div>
75 <div class="sect2" lang="en" xml:lang="en">
76 <div class="titlepage">
77 <div>
78 <div>
79 <h3 class="title"><a id="idp51521792"></a>See Also</h3>
80 </div>
81 </div>
82 </div>
83 <p>
84 <a class="xref" href="env.html#envlist" title="Database Environments and Related Methods">Database Environments and Related Methods</a>
85 </p>
86 </div>
87 </div>
88 <div class="navfooter">
89 <hr />
90 <table width="100%" summary="Navigation footer">
91 <tr>
92 <td width="40%" align="left"><a accesskey="p" href="envget_flags.html">Prev</a> </td>
93 <td width="20%" align="center">
94 <a accesskey="u" href="env.html">Up</a>
95 </td>
96 <td width="40%" align="right"> <a accesskey="n" href="envget_intermediate_dir_mode.html">Next</a></td>
97 </tr>
98 <tr>
99 <td width="40%" align="left" valign="top">DB_ENV-&gt;get_flags() </td>
100 <td width="20%" align="center">
101 <a accesskey="h" href="index.html">Home</a>
102 </td>
103 <td width="40%" align="right" valign="top"> DB_ENV-&gt;get_intermediate_dir_mode()</td>
104 </tr>
105 </table>
106 </div>
107 </body>
108 </html>