Bitcoin ABC 0.30.5
P2P Digital Currency
Functions
syserror.cpp File Reference
#include <tinyformat.h>
#include <util/syserror.h>
#include <cstring>
Include dependency graph for syserror.cpp:

Go to the source code of this file.

Functions

std::string SysErrorString (int err)
 Return system error string from errno value. More...
 

Function Documentation

◆ SysErrorString()

std::string SysErrorString ( int  err)

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.

Too bad there are three incompatible implementations of the thread-safe strerror.

Definition at line 14 of file syserror.cpp.

Here is the caller graph for this function: