49 volatile int last_errno;
52 LOG(
FATAL,
"%s: error (%d) %s\n", where, errno, strerror(errno));
void print_errno_and_exit(const char *where)
Prints an error message about errno to std error and terminates the current program.
#define LOG(level, message...)
Conditionally write a message to the logging output.
static const int FATAL
Loglevel that kills the current process.