From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/api_reference/C/dbstream_close.html | 159 +++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 docs/api_reference/C/dbstream_close.html (limited to 'docs/api_reference/C/dbstream_close.html') diff --git a/docs/api_reference/C/dbstream_close.html b/docs/api_reference/C/dbstream_close.html new file mode 100644 index 00000000..3ec04d1d --- /dev/null +++ b/docs/api_reference/C/dbstream_close.html @@ -0,0 +1,159 @@ + + + + + + DB_STREAM->close() + + + + + + + + + +
+
+
+
+

DB_STREAM->close()

+
+
+
+
#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 BLOB. You open a BLOB 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. + + + +

+
+
+
+
+

Parameters

+
+
+
+
+
+
+
+

flags

+
+
+
+

+ The flags parameter must be set to 0. +

+
+
+
+
+
+
+

Errors

+
+
+
+

+ The DB_STREAM->close() + + method may fail and return one of the following non-zero errors: + + + +

+
+
+
+
+

EINVAL

+
+
+
+

+ An invalid flag value or parameter was specified. +

+
+
+
+
+
+
+

Class

+
+
+
+

+ DB_STREAM +

+
+
+
+
+
+

See Also

+
+
+
+

+ BLOBs and Related Methods +

+
+
+ + + -- cgit v1.2.1