#include <db_cxx.h>void DbEnv::set_errfile(FILE *);
Set a C library FILE * to be used for displaying Berkeley DB error messages.
The DbEnv::set_error_stream method specifies a C++ ostream for the same purpose. Alternatively, you can use the DbEnv::set_errcall method to capture errors in a way that does not use output streams. It is unwise to mix these approaches.