Berkeley DB Reference Guide:
Access Methods

PrevRefNext

Cursor close

The DBcursor->c_close function is the standard interface for closing a cursor, after which the cursor may no longer be used. Although cursors are implicitly closed when the database they point to are closed, it is good programming practice to explicitly close cursors. In addition, in transactional systems, cursors may not exist outside of a transaction and so must be explicitly closed.

PrevRefNext

Copyright Sleepycat Software