log_unregister |
![]() ![]() |
#include <db.h>int log_unregister(DB_ENV *env, int32_t fid);
The log_unregister function disassociates the file name to file identification number mapping for the file identification number specified by the fid parameter. The file identification number may then be reused.
The log_unregister function returns a non-zero error value on failure and 0 on success.
In addition, the log_unregister function may fail and return a non-zero error for the following conditions:
In addition, the log_unregister function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions.
![]() ![]() |