d of
    the returned records is reached.  The end of the returned records is
    detected by the application's local pointer variable being set to NULL.
</p>
        <p>
    Note that if you want to use a cursor for bulk retrieval of records in
    a Btree database, you should open the cursor using the
    <code class="literal">DB_CURSOR_BULK</code> flag. This optimizes the cursor for
    bulk retrieval.
</p>
        <p>
    The following is an example of a routine that displays the contents of
    a Btree