abfFailure()

Changes the ABF file header to reflect that an error occurred in translation (making the file unreadable) and imbeds a message in the file which is displayed in the program's message log.

Syntax

void abfFailure(const char *mess);

Inputs

mess
The error to be displayed.

Example

void abfFailure(const char *mess);

Comments

If the translator is not invoked as an external reader, the message is output to stderr. Otherwise, the program continues trying other readers under the assumption that this reader correctly denied ownership of the file.

Calling abfFailure() terminates the translator. The ABF library will quit via exit().