| 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>Compatibility with historic UNIX interfaces</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_copy.html" title="Copying or moving databases" /> |
| 12 | <link rel="next" href="program_runtime.html" title="Run-time configuration" /> |
| 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">Compatibility with historic UNIX interfaces</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="program_copy.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_runtime.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_compatible"></a>Compatibility with historic UNIX interfaces</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p> |
| 42 | The Berkeley DB version 2 library provides backward-compatible |
| 43 | interfaces for the historic UNIX <a href="../api_reference/C/dbm.html" class="olink">dbm</a>, <a href="../api_reference/C/dbm.html" class="olink">ndbm</a> and <a href="../api_reference/C/hsearch.html" class="olink">hsearch</a> |
| 44 | interfaces. It also provides a backward-compatible interface for the |
| 45 | historic Berkeley DB 1.85 release. |
| 46 | </p> |
| 47 | <p> |
| 48 | Berkeley DB version 2 does not provide database compatibility for any |
| 49 | of the previous interfaces, and existing databases must be converted |
| 50 | manually. To convert existing databases from the Berkeley DB 1.85 |
| 51 | format to the Berkeley DB version 2 format, review the <a href="../api_reference/C/db_dump.html" class="olink">db_dump185</a> utility and |
| 52 | the <a href="../api_reference/C/db_load.html" class="olink">db_load</a> utility information. No utilities are provided to convert UNIX |
| 53 | <a href="../api_reference/C/dbm.html" class="olink">dbm</a>, <a href="../api_reference/C/dbm.html" class="olink">ndbm</a> or <a href="../api_reference/C/hsearch.html" class="olink">hsearch</a> databases. |
| 54 | </p> |
| 55 | </div> |
| 56 | <div class="navfooter"> |
| 57 | <hr /> |
| 58 | <table width="100%" summary="Navigation footer"> |
| 59 | <tr> |
| 60 | <td width="40%" align="left"><a accesskey="p" href="program_copy.html">Prev</a> </td> |
| 61 | <td width="20%" align="center"> |
| 62 | <a accesskey="u" href="program.html">Up</a> |
| 63 | </td> |
| 64 | <td width="40%" align="right"> <a accesskey="n" href="program_runtime.html">Next</a></td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td width="40%" align="left" valign="top">Copying or moving databases </td> |
| 68 | <td width="20%" align="center"> |
| 69 | <a accesskey="h" href="index.html">Home</a> |
| 70 | </td> |
| 71 | <td width="40%" align="right" valign="top"> Run-time configuration</td> |
| 72 | </tr> |
| 73 | </table> |
| 74 | </div> |
| 75 | </body> |
| 76 | </html> |