Print

Print


Hello,

This is a request for XRootd to provide a mapping from `XRootDStatus` to `errno`.

Currently, there is no easy way to convert the `XRootDStatus.code & XRootDStatus.errNo` into `errno`. I understand XRootd codes can't always (fully) be mapped onto errnos. However, certain clients (such as Gfal2) have to work with this.

I'm using within Gfal2 the mapping from here: [XrdPosixMap](https://github.com/xrootd/xrootd/blob/v5.2.0/src/XrdPosix/XrdPosixMap.cc#L149-L178).
Would it make sense to have this header public?

Cheers,
Mihai

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1503

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1