Berkeley DB: DbEnv::set_errfile
Полезная информация


#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.



See Also

DbEnv::appinit, DbEnv::appexit, DbEnv::version, DbEnv::get_lg_info, DbEnv::get_lk_info, DbEnv::get_mp_info, DbEnv::get_tx_info, dbenv_set_data_dir, DbEnv::set_errcall, DbEnv::set_errfile, DbEnv::set_error_model, DbEnv::set_error_stream, DbEnv::set_errpfx, DbEnv::set_lg_max, DbEnv::set_lk_conflicts, DbEnv::set_lk_detect, DbEnv::set_lk_modes, DbEnv::set_lorder, DbEnv::set_mp_mmapsize, DbEnv::set_mp_size, DbEnv::set_tx_max, DbEnv::set_tx_recover and DbEnv::set_verbose.