#include <db.h> int DB_STREAM->close(DB_STREAM *dbs, u_int32_t flags);
The DB_STREAM->close()
method flushes any
unwritten data to disk, frees allocated resources, and closes the
underlying file which contains the external file. You open an external
file stream using
DBC->db_stream()
.
Once this method is called, the stream can not be used again even if this method returns an error.
Unless otherwise specified, the
DB_STREAM->close()
method returns a non-zero error value on failure and 0 on success.
The DB_STREAM->close()
method may fail and return one of the following non-zero errors: