DBcursor->c_close |
#include <db.h>int DBcursor->c_close(DBC *DBcursor);
The DBcursor->c_close method discards the cursor.
It is possible for the DBcursor->c_close method to return DB_LOCK_DEADLOCK, signaling that any enclosing transaction should be aborted. If the application is already intending to abort the transaction, this error should be ignored, and the application should proceed.
After DBcursor->c_close has been called, regardless of its return, the cursor handle may not be used again.
The DBcursor->c_close method returns a non-zero error value on failure and 0 on success.
The DBcursor->c_close method may fail and return one of the following non-zero errors:
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.