Bflddbunlink — unlink field database files.
Unlink the database files. This function is useful in cases if configuration parameters are changed for database. The simple db drop will not cause new parameters to become in use. Thus when db is closed, it can be unlinked with this function. Next access to DB will create new database with new parameters.
Note this function does not close database handlers. Thus to work properly the DB shall not be open. Or it should be closed with Bflddbunload(3).
On success, Bflddbunlink() return zero; on error, -1 is returned, with Berror set to indicate the error.
In case of error Berror will be non 0. Note that Bstrerror() returns generic error message plus custom message with debug info from last function call.
BEUNIX unlink of data files failed.