Initialize

This commit is contained in:
2021-12-16 09:29:17 +08:00
commit 6e0f72d7ed
22 changed files with 1550 additions and 0 deletions

14
err.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _UTILS_ERR_H
#define _UTILS_ERR_H
#include <string>
namespace err {
/**
* @brief Get error message from errno
* @param out Output string
* @param errnum errno
* @returns true if successed
*/
bool get_errno_message(std::string &out, int errnum);
}
#endif