• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/api_reference/C/
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-&gt;get_errpfx()</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="db.html" title="Chapter��2.�� The DB Handle" />
11    <link rel="prev" href="dbget_errfile.html" title="DB-&gt;get_errfile()" />
12    <link rel="next" href="dbget_flags.html" title="DB-&gt;get_flags()" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">DB-&gt;get_errpfx()</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="dbget_errfile.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��2.��
23                The DB Handle
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="dbget_flags.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="dbget_errpfx"></a>DB-&gt;get_errpfx()</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">#include &lt;db.h&gt;
39
40void DB-&gt;get_errpfx(DB *db, const char **errpfxp);  </pre>
41      <p>
42        The <code class="methodname">DB-&gt;get_errpfx()</code> method returns the error prefix.
43    </p>
44      <p>
45         The <code class="methodname">DB-&gt;get_errpfx()</code> method may be called at any time during the life
46         of the application.
47    </p>
48      <div class="sect2" lang="en" xml:lang="en">
49        <div class="titlepage">
50          <div>
51            <div>
52              <h3 class="title"><a id="id1636303"></a>Parameters</h3>
53            </div>
54          </div>
55        </div>
56        <div class="sect3" lang="en" xml:lang="en">
57          <div class="titlepage">
58            <div>
59              <div>
60                <h4 class="title"><a id="id1636348"></a>errpfxp</h4>
61              </div>
62            </div>
63          </div>
64          <p>
65                          The <code class="methodname">DB-&gt;get_errpfx()</code> method returns a reference to the error prefix
66                          in <span class="bold"><strong>errpfxp</strong></span>.
67                     </p>
68        </div>
69      </div>
70      <div class="sect2" lang="en" xml:lang="en">
71        <div class="titlepage">
72          <div>
73            <div>
74              <h3 class="title"><a id="id1636489"></a>Class</h3>
75            </div>
76          </div>
77        </div>
78        <p>
79                <a class="link" href="db.html" title="Chapter��2.�� The DB Handle">DB</a>  
80            </p>
81      </div>
82      <div class="sect2" lang="en" xml:lang="en">
83        <div class="titlepage">
84          <div>
85            <div>
86              <h3 class="title"><a id="id1636180"></a>See Also</h3>
87            </div>
88          </div>
89        </div>
90        <p>
91                        <a class="xref" href="db.html#dblist" title="Database and Related Methods">Database and Related Methods</a>,
92                        <a class="xref" href="dbset_errpfx.html" title="DB-&gt;set_errpfx()">DB-&gt;set_errpfx()</a>
93                </p>
94      </div>
95    </div>
96    <div class="navfooter">
97      <hr />
98      <table width="100%" summary="Navigation footer">
99        <tr>
100          <td width="40%" align="left"><a accesskey="p" href="dbget_errfile.html">Prev</a>��</td>
101          <td width="20%" align="center">
102            <a accesskey="u" href="db.html">Up</a>
103          </td>
104          <td width="40%" align="right">��<a accesskey="n" href="dbget_flags.html">Next</a></td>
105        </tr>
106        <tr>
107          <td width="40%" align="left" valign="top">DB-&gt;get_errfile()��</td>
108          <td width="20%" align="center">
109            <a accesskey="h" href="index.html">Home</a>
110          </td>
111          <td width="40%" align="right" valign="top">��DB-&gt;get_flags()</td>
112        </tr>
113      </table>
114    </div>
115  </body>
116</html>
117