// #include // #include // #include #include #include #include #include "err.h" using namespace std; void syserr(const string msg) { cerr << "ERROR: " << msg << " (" << errno << ") " << strerror(errno) << endl; exit(1); } void fatal(const string msg) { cerr << "ERROR: " << msg << endl; exit(1); }