| 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 15. 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 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">Environment variables</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="program_errorret.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 15. |
| 26 | Programmer Notes |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="program_mt.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="program_environ"></a>Environment variables</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p>The Berkeley DB library uses the following environment variables:</p> |
| 42 | <div class="variablelist"> |
| 43 | <dl> |
| 44 | <dt> |
| 45 | <span class="term">DB_HOME</span> |
| 46 | </dt> |
| 47 | <dd>If the environment variable DB_HOME is set, it is used as part of |
| 48 | <a class="xref" href="env_naming.html" title="File naming">File naming</a>. |
| 49 | Note: For the DB_HOME variable to take effect, either the |
| 50 | <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 |
| 51 | specified to <a href="../api_reference/C/envopen.html" class="olink">DB_ENV->open()</a>.</dd> |
| 52 | <dt> |
| 53 | <span class="term">TMPDIR, TEMP, TMP, TempFolder</span> |
| 54 | </dt> |
| 55 | <dd>The TMPDIR, TEMP, TMP, and TempFolder environment variables are all |
| 56 | checked as locations in which to create temporary files. See |
| 57 | <a href="../api_reference/C/envset_tmp_dir.html" class="olink">DB_ENV->set_tmp_dir()</a> for more information.</dd> |
| 58 | </dl> |
| 59 | </div> |
| 60 | </div> |
| 61 | <div class="navfooter"> |
| 62 | <hr /> |
| 63 | <table width="100%" summary="Navigation footer"> |
| 64 | <tr> |
| 65 | <td width="40%" align="left"><a accesskey="p" href="program_errorret.html">Prev</a> </td> |
| 66 | <td width="20%" align="center"> |
| 67 | <a accesskey="u" href="program.html">Up</a> |
| 68 | </td> |
| 69 | <td width="40%" align="right"> <a accesskey="n" href="program_mt.html">Next</a></td> |
| 70 | </tr> |
| 71 | <tr> |
| 72 | <td width="40%" align="left" valign="top">Error returns to applications </td> |
| 73 | <td width="20%" align="center"> |
| 74 | <a accesskey="h" href="index.html">Home</a> |
| 75 | </td> |
| 76 | <td width="40%" align="right" valign="top"> Multithreaded applications</td> |
| 77 | </tr> |
| 78 | </table> |
| 79 | </div> |
| 80 | </body> |
| 81 | </html> |