• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/docs/api_reference/TCL/
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>env close</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 TCL API Reference" />
10    <link rel="up" href="tclapi.html" title="Chapter��1.�� Berkeley DB Tcl APIs" />
11    <link rel="prev" href="dbc_put.html" title="dbc put" />
12    <link rel="next" href="env_dbremove.html" title="env dbremove" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center"><span class="emphasis"><em>env</em></span> close</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="dbc_put.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��1.��
23                Berkeley DB Tcl APIs
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="env_dbremove.html">Next</a></td>
26        </tr>
27      </table>
28      <hr />
29    </div>
30    <div class="sect1" lang="en" xml:lang="en">
31      <div class="titlepage">
32        <div>
33          <div>
34            <h2 class="title" style="clear: both"><a id="env_close"></a><span class="emphasis"><em>env</em></span> close</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">env close  </pre>
39      <p>
40         Close the Berkeley DB environment, freeing any allocated resources and
41         closing any underlying subsystems.
42    </p>
43      <p>
44         This does not imply closing any databases that were opened in the
45         environment.
46    </p>
47      <p>
48         Where the environment was initialized with the <span class="bold"><strong>-txn</strong></span> option, calling <span class="emphasis"><em>env</em></span>
49         <span class="bold"><strong>close</strong></span> does not release any locks
50         still held by the closing process, providing functionality for
51         long-lived locks.
52    </p>
53      <p>
54         After <span class="emphasis"><em>env</em></span> <span class="bold"><strong>close</strong></span>
55         has been called the <span class="bold"><strong>env</strong></span> handle may
56         not be accessed again.
57    </p>
58      <p>
59         The <span class="emphasis"><em>env</em></span> <span class="bold"><strong>close</strong></span>
60         command returns 0 on success, and in the case of error, a Tcl error is
61         thrown.
62    </p>
63    </div>
64    <div class="navfooter">
65      <hr />
66      <table width="100%" summary="Navigation footer">
67        <tr>
68          <td width="40%" align="left"><a accesskey="p" href="dbc_put.html">Prev</a>��</td>
69          <td width="20%" align="center">
70            <a accesskey="u" href="tclapi.html">Up</a>
71          </td>
72          <td width="40%" align="right">��<a accesskey="n" href="env_dbremove.html">Next</a></td>
73        </tr>
74        <tr>
75          <td width="40%" align="left" valign="top"><span class="emphasis"><em>dbc</em></span> put��</td>
76          <td width="20%" align="center">
77            <a accesskey="h" href="index.html">Home</a>
78          </td>
79          <td width="40%" align="right" valign="top">��<span class="emphasis"><em>env</em></span> dbremove</td>
80        </tr>
81      </table>
82    </div>
83  </body>
84</html>
85