Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
syserror.h File Reference
#include <string>
Include dependency graph for syserror.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

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.

Definition at line 17 of file syserror.cpp.

Here is the caller graph for this function: