Debian Codegraph @

docs/api_reference/C/seqstat_print.html

raw symbols SCIP
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_SEQUENCE-&gt;stat_print()</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="seq.html" title="Chapter 11.  The DB_SEQUENCE Handle" />
11 <link rel="prev" href="seqstat.html" title="DB_SEQUENCE-&gt;stat()" />
12 <link rel="next" href="txn.html" title="Chapter 12.  The DB_TXN Handle" />
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">DB_SEQUENCE-&gt;stat_print()</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="seqstat.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 11. 
26 The DB_SEQUENCE Handle
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="txn.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="seqstat_print"></a>DB_SEQUENCE-&gt;stat_print()</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 int
44 DB_SEQUENCE-&gt;stat_print(DB_SEQUENCE *db, u_int32_t flags); </pre>
45 <p>
46 The <code class="methodname">DB_SEQUENCE-&gt;stat_print()</code> method prints diagnostic information to
47 the output channel described by the <a class="xref" href="envset_msgfile.html" title="DB_ENV-&gt;set_msgfile()">DB_ENV-&gt;set_msgfile()</a>
48 method.
49 </p>
50 <p>
51 The <code class="methodname">DB_SEQUENCE-&gt;stat_print()</code> <span>
52 <span>
53 method returns a non-zero error value on failure and 0 on success.
54 </span>
55
56 </span>
57 </p>
58 <div class="sect2" lang="en" xml:lang="en">
59 <div class="titlepage">
60 <div>
61 <div>
62 <h3 class="title"><a id="idp54728280"></a>Parameters</h3>
63 </div>
64 </div>
65 </div>
66 <div class="sect3" lang="en" xml:lang="en">
67 <div class="titlepage">
68 <div>
69 <div>
70 <h4 class="title"><a id="idp54727864"></a>flags</h4>
71 </div>
72 </div>
73 </div>
74 <p>
75 The <span class="bold"><strong>flags</strong></span> parameter must be set by
76 bitwise inclusively <span class="bold"><strong>OR</strong></span>'ing together
77 one or more of the following values:
78 </p>
79 <div class="itemizedlist">
80 <ul type="disc">
81 <li>
82 <p>
83 <code class="literal">DB_STAT_CLEAR</code>
84 </p>
85 <p>
86 Reset statistics after printing their values.
87 </p>
88 </li>
89 </ul>
90 </div>
91 </div>
92 </div>
93 <div class="sect2" lang="en" xml:lang="en">
94 <div class="titlepage">
95 <div>
96 <div>
97 <h3 class="title"><a id="idp54674520"></a>Class</h3>
98 </div>
99 </div>
100 </div>
101 <p>
102 <a class="link" href="seq.html" title="Chapter 11.  The DB_SEQUENCE Handle">DB_SEQUENCE</a>
103 </p>
104 </div>
105 <div class="sect2" lang="en" xml:lang="en">
106 <div class="titlepage">
107 <div>
108 <div>
109 <h3 class="title"><a id="idp54718544"></a>See Also</h3>
110 </div>
111 </div>
112 </div>
113 <p>
114 <a class="xref" href="seq.html#seqlist" title="Sequences and Related Methods">Sequences and Related Methods</a>
115 </p>
116 </div>
117 </div>
118 <div class="navfooter">
119 <hr />
120 <table width="100%" summary="Navigation footer">
121 <tr>
122 <td width="40%" align="left"><a accesskey="p" href="seqstat.html">Prev</a> </td>
123 <td width="20%" align="center">
124 <a accesskey="u" href="seq.html">Up</a>
125 </td>
126 <td width="40%" align="right"> <a accesskey="n" href="txn.html">Next</a></td>
127 </tr>
128 <tr>
129 <td width="40%" align="left" valign="top">DB_SEQUENCE-&gt;stat() </td>
130 <td width="20%" align="center">
131 <a accesskey="h" href="index.html">Home</a>
132 </td>
133 <td width="40%" align="right" valign="top"> Chapter 12. 
134 The DB_TXN Handle
135 </td>
136 </tr>
137 </table>
138 </div>
139 </body>
140 </html>