xrootd
Loading...
Searching...
No Matches
Functions
XrdSysE2T.hh File Reference
#include <cerrno>
Include dependency graph for XrdSysE2T.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * XrdSysE2T (int errcode)
 

Function Documentation

◆ XrdSysE2T()

const char * XrdSysE2T ( int  errcode)
extern

Convert error number to string in a thread-safe way.

Parameters
errcodeThe error number (usually from errno).
Returns
A non-nil pointer to the string holding the error description.

Referenced by XrdCl::AsyncHSWriter::Write(), and XrdCl::AsyncMsgWriter::Write().