#include <cerrno>
#include <fcntl.h>
#include <string>
#include <sys/param.h>
#include <sys/stat.h>
#include "XrdOss/XrdOss.hh"
#include "XrdOss/XrdOssApi.hh"
#include "XrdOss/XrdOssAt.hh"
#include "XrdOss/XrdOssCache.hh"
#include "XrdOss/XrdOssError.hh"
#include "XrdOss/XrdOssPath.hh"
#include "XrdSys/XrdSysError.hh"
#include "XrdSys/XrdSysFD.hh"
#include "XrdSys/XrdSysPlatform.hh"
Go to the source code of this file.
◆ BOILER_PLATE
#define BOILER_PLATE |
( |
| dfObj, |
|
|
| fd ) |
◆ OPEN_AT
#define OPEN_AT |
( |
| dst, |
|
|
| dfd, |
|
|
| p, |
|
|
| f ) |
Value: dst = openat(dfd, p, f); \
if (dst >= 0)
fcntl(dst, F_SETFD, FD_CLOEXEC);\
int fcntl(int fd, int cmd,...)
Definition at line 76 of file XrdOssAt.cc.
76#define OPEN_AT(dst, dfd, p, f)\
77 dst = openat(dfd, p, f); \
78 if (dst >= 0) fcntl(dst, F_SETFD, FD_CLOEXEC);\
79 else return -errno
Referenced by XrdOssAt::Opendir(), and XrdOssAt::OpenRO().
◆ OssEroute