#include <db.h> int DB_ENV->get_lk_tablesize(DB_ENV *dbenv, u_int32_t *tablesizep;
The DB_ENV->get_lk_tablesize()
method
returns the size of the lock object hash table in the Berkeley DB
environment. This value is set using the
DB_ENV->set_lk_tablesize()
method.
The DB_ENV->get_lk_tablesize()
method may be
called at any time during the life of the application.
The DB_ENV->get_lk_tablesize()
method returns a non-zero error value on failure and 0 on success.