#include <db.h> int DB_ENV->get_home(DB_ENV *dbenv, const char **homep);
The DB_ENV->get_home()
method returns the database environment home
directory. This directory is normally identified when the
DB_ENV->open()
method is called.
The DB_ENV->get_home()
method may be called at any time during the
life of the application.
The DB_ENV->get_home()
method returns a non-zero error value on failure and 0 on success.