44#include "XrdSys/XrdWin32.hh"
57#define Set_IOV_Item(x, y) {iov[iovpnt].iov_base = (caddr_t)x;\
58 iov[iovpnt++].iov_len = y;}
60#define Set_IOV_Buff(x) {iov[iovpnt].iov_base = (caddr_t)x;\
61 iov[iovpnt++].iov_len = strlen(x);}
86 xcode = (ecode < 0 ? -ecode : ecode);
87 while((etp != 0) && !(etxt = etp->
Lookup(xcode))) etp = etp->next;
101 int sign = (ecode < 0 ? -1 : 1);
102 int absE = ecode * sign;
104 while ((etp != 0) && !(xcode = etp->
Lookup(absE)))
109 return xcode ? xcode * sign : ecode;
119 struct iovec
iov[16];
121 const char *etxt =
ec2text(ecode);
133 Logger->Put(iovpnt,
iov);
142 struct iovec
iov[16];
155 Logger->Put(iovpnt,
iov);
163 const char *txt4,
const char *txt5,
const char *txt6)
175 Logger->Put(iovpnt,
iov);
184 std::cerr <<Logger->traceBeg();
185 if (txt1) std::cerr <<txt1 <<
' ';
186 if (txt2) std::cerr <<epfx <<txt2 <<
": ";
187 if (txt3) std::cerr <<txt3;
const char * XrdSysE2T(int errcode)
#define Set_IOV_Item(x, y)
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)
void TBeg(const char *txt1=0, const char *txt2=0, const char *txt3=0)
void Say(const char *text1, const char *text2=0, const char *txt3=0, const char *text4=0, const char *text5=0, const char *txt6=0)
static const char * ec2text(int ecode)