| 18 | const int opt_syslog = LOG_ERR | LOG_PID | LOG_CONS; |
| 19 | |
| 20 | void |
| 21 | fatal_exit(const std::string& message) |
| 22 | { |
| 23 | fprintf(stderr, "FATAL_EXIT: %s\n", message.c_str()); |
| 24 | syslog(opt_syslog, "FATAL_EXIT: %s", message.c_str()); |
| 25 | _exit(1); |
| 26 | } |
| 27 | |
| 28 | void |
| 29 | fatal_abort(const std::string& message) |
no outgoing calls
no test coverage detected