mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-07-08 01:30:39 +08:00
Initialize
This commit is contained in:
14
err.h
Normal file
14
err.h
Normal 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
|
||||
Reference in New Issue
Block a user