This pull requests introduces a new function (fatal()), and two macros (FATAL_IF(), and FATAL_IF0()) which can be used to (conditionally in the case of the macros) print a formatted error message that's prefixed with fatal error: and exit the program with EXIT_FAILURE status code. The error messages have also been rewritten to some degree and converted to lower case.
This pull requests introduces a new function (
fatal()
), and two macros (FATAL_IF()
, andFATAL_IF0()
) which can be used to (conditionally in the case of the macros) print a formatted error message that's prefixed withfatal error:
and exit the program withEXIT_FAILURE
status code. The error messages have also been rewritten to some degree and converted to lower case.