Berkeley DB: env close
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### env close |

`

###

    env close

### Description(env close)

Close the Berkeley DB environment, freeing any allocated resources and closing any underlying subsystems.

This does not imply closing any databases that were opened in the environment.

Where the environment was initialized with the -txn option, calling env close does not release any locks still held by the closing process, providing functionality for long-lived locks.

After env close has been called the env handle may not be accessed again.

The env close command returns 0 on success, and in the case of error, a Tcl error is thrown.

`

Copyright (c) 1996,2007 Oracle. All rights reserved.