Set a handler for error conditions.
Whenever an error occurs in the bdd package a test is done to see if an error handler is supplied by the user and if such exists then it will be called with an error code in the variable errcode. The handler may then print any usefull information and return or exit afterwards. This function sets the handler to be handler. If a void my_error_handler(int errcode) { ... }
|