logmeow/misc.h

9 lines
214 B
C++

#pragma once
#include <string>
std::string quote(const std::string& str);
void throw_system_error(int err, const char* what);
void throw_system_error(const char* what);
void throw_system_error(std::string what);