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.
Declared in <util/syserror.h>
std::string
SysErrorString(int err);
The human-readable string for the given error code.
| Name | Description |
|---|---|
| err | errno value to translate into a message. |