Return system error string from errno value. Use this instead of std::strerror, which is not thread‐safe. For network errors use NetworkErrorString from sock.h instead.
Synopsis
Declared in <util/syserror.h>
std::string
SysErrorString(int err);
Return Value
The human‐readable string for the given error code.
Parameters
Name |
Description |
err |
errno value to translate into a message. |
Created with MrDocs