xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

const char* XrdSysE2T ( int  errcode)

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::AsyncMsgWriter::Write(), and XrdCl::AsyncHSWriter::Write().