• 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/programmer_reference/
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>Environment variables</title>
7    <link rel="stylesheet" href="gettingStarted.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 Programmer's Reference Guide" />
10    <link rel="up" href="program.html" title="Chapter��14.�� Programmer Notes" />
11    <link rel="prev" href="program_errorret.html" title="Error returns to applications" />
12    <link rel="next" href="program_mt.html" title="Multithreaded applications" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Environment variables</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="program_errorret.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��14.��
23		Programmer Notes
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="program_mt.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="program_environ"></a>Environment variables</h2>
35          </div>
36        </div>
37      </div>
38      <p>The Berkeley DB library uses the following environment variables:</p>
39      <div class="variablelist">
40        <dl>
41          <dt>
42            <span class="term">DB_HOME</span>
43          </dt>
44          <dd>If the environment variable DB_HOME is set, it is used as part of
45<a class="xref" href="env_naming.html" title="File naming">File naming</a>.
46Note: For the DB_HOME variable to take effect, either the
47<a href="../api_reference/C/envopen.html#envopen_DB_USE_ENVIRON" class="olink">DB_USE_ENVIRON</a> or <a href="../api_reference/C/envopen.html#envopen_DB_USE_ENVIRON_ROOT" class="olink">DB_USE_ENVIRON_ROOT</a> flags must be
48specified to <a href="../api_reference/C/envopen.html" class="olink">DB_ENV-&gt;open()</a>.</dd>
49          <dt>
50            <span class="term">TMPDIR, TEMP, TMP, TempFolder</span>
51          </dt>
52          <dd>The TMPDIR, TEMP, TMP, and TempFolder environment variables are all
53checked as locations in which to create temporary files.  See
54<a href="../api_reference/C/envset_tmp_dir.html" class="olink">DB_ENV-&gt;set_tmp_dir()</a> for more information.</dd>
55        </dl>
56      </div>
57    </div>
58    <div class="navfooter">
59      <hr />
60      <table width="100%" summary="Navigation footer">
61        <tr>
62          <td width="40%" align="left"><a accesskey="p" href="program_errorret.html">Prev</a>��</td>
63          <td width="20%" align="center">
64            <a accesskey="u" href="program.html">Up</a>
65          </td>
66          <td width="40%" align="right">��<a accesskey="n" href="program_mt.html">Next</a></td>
67        </tr>
68        <tr>
69          <td width="40%" align="left" valign="top">Error returns to applications��</td>
70          <td width="20%" align="center">
71            <a accesskey="h" href="index.html">Home</a>
72          </td>
73          <td width="40%" align="right" valign="top">��Multithreaded applications</td>
74        </tr>
75      </table>
76    </div>
77  </body>
78</html>
79