#include <db.h> int DB_ENV->get_metadata_dir(DB_ENV *envp, const char **dirp);
        The DB_ENV->get_metadata_dir() method
        returns
        the directory where persistent metadata is stored. This location
        can be set using the 
        DB_ENV->set_metadata_dir()
        method.
    
        The DB_ENV->get_metadata_dir() directory may
        be called at any time during the life of the application.
    
         The DB_ENV->get_metadata_dir() 
            
                  method returns a non-zero error value on failure and 0 on success.