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::get_msgfile()</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_lorder.html" title="Db::get_lorder()" /> 12 <link rel="next" href="dbget_multiple.html" title="Db::get_multiple()" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Db::get_msgfile()</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="dbget_lorder.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_multiple.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_msgfile"></a>Db::get_msgfile()</h2> 35 </div> 36 </div> 37 </div> 38 <pre class="programlisting">#include <db_cxx.h> 39 40void Db::get_msgfile(FILE **msgfilep);</pre> 41 <p> 42 The <code class="methodname">Db::get_msgfile()</code> method returns the 43 <code class="literal">FILE *</code> used to output informational 44 or statistical messages. This file handle is configured using 45 the <a class="xref" href="dbset_msgfile.html" title="Db::set_msgfile()">Db::set_msgfile()</a> 46 method. 47 </p> 48 <p> 49 The <code class="methodname">Db::get_msgfile()</code> method may be called at any time during the 50 life of the application. 51 </p> 52 <div class="sect2" lang="en" xml:lang="en"> 53 <div class="titlepage"> 54 <div> 55 <div> 56 <h3 class="title"><a id="id1636742"></a>Parameters</h3> 57 </div> 58 </div> 59 </div> 60 <div class="sect3" lang="en" xml:lang="en"> 61 <div class="titlepage"> 62 <div> 63 <div> 64 <h4 class="title"><a id="id1636839"></a>msgfilep</h4> 65 </div> 66 </div> 67 </div> 68 <p> 69 The <code class="methodname">Db::get_msgfile()</code> method returns the 70 <code class="literal">FILE *</code> in 71 <span class="bold"><strong>msgfilep</strong></span>. 72 </p> 73 </div> 74 </div> 75 <div class="sect2" lang="en" xml:lang="en"> 76 <div class="titlepage"> 77 <div> 78 <div> 79 <h3 class="title"><a id="id1636731"></a>Class</h3> 80 </div> 81 </div> 82 </div> 83 <p> 84 <a class="link" href="db.html" title="Chapter 2. The Db Handle">Db</a> 85 </p> 86 </div> 87 <div class="sect2" lang="en" xml:lang="en"> 88 <div class="titlepage"> 89 <div> 90 <div> 91 <h3 class="title"><a id="id1636732"></a>See Also</h3> 92 </div> 93 </div> 94 </div> 95 <p> 96 <a class="xref" href="db.html#dblist" title="Database and Related Methods">Database and Related Methods</a>, 97 <a class="xref" href="dbset_msgfile.html" title="Db::set_msgfile()">Db::set_msgfile()</a> 98 </p> 99 </div> 100 </div> 101 <div class="navfooter"> 102 <hr /> 103 <table width="100%" summary="Navigation footer"> 104 <tr> 105 <td width="40%" align="left"><a accesskey="p" href="dbget_lorder.html">Prev</a> </td> 106 <td width="20%" align="center"> 107 <a accesskey="u" href="db.html">Up</a> 108 </td> 109 <td width="40%" align="right"> <a accesskey="n" href="dbget_multiple.html">Next</a></td> 110 </tr> 111 <tr> 112 <td width="40%" align="left" valign="top">Db::get_lorder() </td> 113 <td width="20%" align="center"> 114 <a accesskey="h" href="index.html">Home</a> 115 </td> 116 <td width="40%" align="right" valign="top"> Db::get_multiple()</td> 117 </tr> 118 </table> 119 </div> 120 </body> 121</html> 122