12extern std::vector<std::pair<std::string, std::shared_ptr<std::atomic_flag>>>
vCheckFlag;
17char *
checkError(
char *result,
const char * ,
int );
26 std::array<char, BUFSIZ> buffer{};
27 return checkError(strerror_r(errVal, buffer.data(), BUFSIZ), buffer.data(), errVal);
char * checkError(int, char *buffer, int)
std::string getErrnoString(int errVal)
std::vector< std::pair< std::string, std::shared_ptr< std::atomic_flag > > > vCheckFlag
Global variable to check if the servers are running.