MCPcopy Create free account
hub / github.com/Codesire-Deng/co_context / fatal_error

Function fatal_error

test/httpd.cpp:55–58  ·  view source on GitHub ↗

One function that prints the system call and the error details and then exits with error code 1. Non-zero meaning things didn't go well. */

Source from the content-addressed store, hash-verified

53 and then exits with error code 1. Non-zero meaning things didn't go well.
54 */
55void fatal_error(const char *syscall) {
56 perror(syscall);
57 std::terminate();
58}
59
60void check_for_index_file() {
61 struct stat st;

Callers 2

check_for_index_fileFunction · 0.70
prep_file_contentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected