#include <db.h> int DB->get_lk_exclusive(DB *db, int *onoff, int *nowait);
Returns whether the database handle is configured to obtain a write lock on the entire database. This can be set using the DB->set_lk_exclusive() method.
         The DB->get_lk_exclusive() method may be
         called at any time during the life of the application.
    
         The DB->get_lk_exclusive() always
         returns 0.
    
                 Indicates whether the handle is configured for exclusive
                 database locking. If 0, it is not
                 configured for exclusive locking. If 1,
                 then it is configured for exclusive locking.