tlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="envset_alloc"></a>DB_ENV-&gt;set_alloc()</h2>
          </div>
        </div>
      </div>
      <pre class="programlisting">#include &lt;db.h&gt;

int
DB_ENV-&gt;set_alloc(DB_ENV *dbenv,
    void *(*app_malloc)(size_t),
    void *(*app_realloc)(void *, size_t),
    void (*app_free)(void *));  </pre>
      <p>
            Set the allocation functions used by the <a class="link" href="env.html" title="Chapter 5.