#include <cstdint>
#include <cstdlib>
Go to the source code of this file.
◆ CHMOD
#define CHMOD |
( |
|
path, |
|
|
|
mode |
|
) |
| chmod(path,mode) |
◆ FLOCK_t
◆ FS_BLKFACT
◆ GTZ_NULL
#define GTZ_NULL (void *)0 |
◆ IOV_INIT
#define IOV_INIT |
( |
|
data, |
|
|
|
dlen |
|
) |
| data,dlen |
◆ LT_MODULE_EXT
#define LT_MODULE_EXT ".so" |
◆ MAKEDIR
#define MAKEDIR |
( |
|
path, |
|
|
|
mode |
|
) |
| mkdir(path,mode) |
◆ net_errno
◆ Netdata_t
◆ O_BINARY
◆ PTR2INT
#define PTR2INT |
( |
|
x | ) |
int(x) |
◆ SHMDT_t
◆ SOCKLEN_t
#define SOCKLEN_t socklen_t |
◆ Sokdata_t
◆ STATFS
◆ STATFS_BUFF
◆ XRDABS
#define XRDABS |
( |
|
x | ) |
(x < 0 ? -x : x) |
◆ bswap() [1/3]
static uint16_t bswap |
( |
uint16_t |
x | ) |
|
|
inlinestatic |
◆ bswap() [2/3]
static uint32_t bswap |
( |
uint32_t |
x | ) |
|
|
inlinestatic |
◆ bswap() [3/3]
static uint64_t bswap |
( |
uint64_t |
x | ) |
|
|
inlinestatic |
◆ strlcpy()
size_t strlcpy |
( |
char * |
dst, |
|
|
const char * |
src, |
|
|
size_t |
size |
|
) |
| |
Definition at line 60 of file XrdSysPlatform.cc.
62 size_t slen = strlen(src);
65 if (slen <= tlen) strcpy(dst, src);
66 else if (tlen > 0) {strncpy(dst, src, tlen); dst[tlen] =
'\0';}
67 else if (tlen == 0) dst[0] =
'\0';
Referenced by XrdFrcProxy::Add(), XrdOfsPoscq::Add(), XrdFrcReqAgent::Add(), XrdLinkCtl::Alloc(), XrdCmsResp::Alloc(), XrdSecProtocolsss::Authenticate(), XrdOssSys::ConfigXeq(), XrdOfs::ConfigXeq(), XrdFrcProxy::Del(), XrdCmsNode::do_Locate(), XrdCmsNode::do_StatFS(), XrdOucUtils::eText(), XrdOssCache::Find(), XrdOucERoute::Format(), XrdOucUtils::genPath(), XrdFrcCID::Get(), XrdOucCallBack::Init(), XrdFrcReqFile::List(), XrdFrcReqFile::ListL(), XrdSecProtocolsss::Load_Server(), XrdXrootdPrepare::Log(), XrdFrmMonitor::Map(), XrdOssCache::MapDevs(), XrdOfsTPCAllow::Match(), XrdOssSys::MSS_Readdir(), XrdCmsManList::Next(), XrdOssCache::Parse(), XrdOucExport::ParsePath(), XrdOucPsx::ParseSet(), XrdOucN2N::pfn2lfn(), XrdCmsFinderRMT::Prepare(), XrdFrmMigrate::Queue(), XrdOssDir::Readdir(), XrdPssDir::Readdir(), XrdLinkXeq::Register(), XrdCmsCluster::Remove(), XrdCmsResp::Reply(), XrdOfsHandle::Retire(), XrdLinkMatch::Set(), XrdOucErrInfo::setErrData(), XrdOucErrInfo::setErrInfo(), XrdNetSocket::socketPath(), XrdFrcReqAgent::Start(), XrdSecProtocolgsiInit(), XrdSecProtocolkrb5Init(), and XrdSecProtocolpwdInit().