|
xrootd
|
#include <dirent.h>#include <stdio.h>#include <unistd.h>#include <sys/types.h>#include "XrdPosix/XrdPosixOsDep.hh"
Go to the source code of this file.
Functions | |
| int | XrdPosix_Access (const char *path, int amode) |
| int | XrdPosix_Acl (const char *path, int cmd, int nentries, void *aclbufp) |
| int | XrdPosix_Chdir (const char *path) |
| int | XrdPosix_Close (int fildes) |
| int | XrdPosix_Closedir (DIR *dirp) |
| int | XrdPosix_Creat (const char *path, mode_t mode) |
| int | XrdPosix_Fclose (FILE *stream) |
| int | XrdPosix_Fcntl (int fd, int cmd,...) |
| int | XrdPosix_Fdatasync (int fildes) |
| int | XrdPosix_Fflush (FILE *stream) |
| FILE * | XrdPosix_Fopen (const char *path, const char *mode) |
| size_t | XrdPosix_Fread (void *ptr, size_t size, size_t nitems, FILE *stream) |
| int | XrdPosix_Fseek (FILE *stream, long offset, int whence) |
| int | XrdPosix_Fseeko (FILE *stream, long long offset, int whence) |
| int | XrdPosix_Fstat (int fildes, struct stat *buf) |
| int | XrdPosix_Fsync (int fildes) |
| long | XrdPosix_Ftell (FILE *stream) |
| long long | XrdPosix_Ftello (FILE *stream) |
| int | XrdPosix_Ftruncate (int fildes, long long offset) |
| size_t | XrdPosix_Fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream) |
| long long | XrdPosix_Lseek (int fildes, long long offset, int whence) |
| int | XrdPosix_Lstat (const char *path, struct stat *buf) |
| int | XrdPosix_Mkdir (const char *path, mode_t mode) |
| int | XrdPosix_Open (const char *path, int oflag,...) |
| DIR * | XrdPosix_Opendir (const char *path) |
| long | XrdPosix_Pathconf (const char *path, int name) |
| long long | XrdPosix_Pread (int fildes, void *buf, unsigned long long nbyte, long long offset) |
| long long | XrdPosix_Read (int fildes, void *buf, unsigned long long nbyte) |
| long long | XrdPosix_Readv (int fildes, const struct iovec *iov, int iovcnt) |
| struct dirent * | XrdPosix_Readdir (DIR *dirp) |
| struct dirent64 * | XrdPosix_Readdir64 (DIR *dirp) |
| int | XrdPosix_Readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
| int | XrdPosix_Readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) |
| int | XrdPosix_Rename (const char *oname, const char *nname) |
| void | XrdPosix_Rewinddir (DIR *dirp) |
| int | XrdPosix_Rmdir (const char *path) |
| void | XrdPosix_Seekdir (DIR *dirp, long loc) |
| int | XrdPosix_Stat (const char *path, struct stat *buf) |
| int | XrdPosix_Statfs (const char *path, struct statfs *buf) |
| int | XrdPosix_Statvfs (const char *path, struct statvfs *buf) |
| long long | XrdPosix_Pwrite (int fildes, const void *buf, unsigned long long nbyte, long long offset) |
| long | XrdPosix_Telldir (DIR *dirp) |
| int | XrdPosix_Truncate (const char *path, long long offset) |
| int | XrdPosix_Unlink (const char *path) |
| long long | XrdPosix_Write (int fildes, const void *buf, unsigned long long nbyte) |
| long long | XrdPosix_Writev (int fildes, const struct iovec *iov, int iovcnt) |
| int | XrdPosix_isMyPath (const char *path) |
| char * | XrdPosix_URL (const char *path, char *buff, int blen) |
| int XrdPosix_Access | ( | const char * | path, |
| int | amode | ||
| ) |
References XrdPosixXrootd::Access(), XrdPosixLinkage::Access, and XrdPosixXrootPath::URL().
Referenced by access().
| int XrdPosix_Acl | ( | const char * | path, |
| int | cmd, | ||
| int | nentries, | ||
| void * | aclbufp | ||
| ) |
References XrdPosixLinkage::Acl, and XrdPosixXrootPath::URL().
Referenced by acl().
| int XrdPosix_Chdir | ( | const char * | path | ) |
References XrdPosixLinkage::Chdir, and XrdPosixXrootPath::CWD().
Referenced by chdir().
| int XrdPosix_Close | ( | int | fildes | ) |
References XrdPosixLinkage::Close, XrdPosixXrootd::Close(), and XrdPosixXrootd::myFD().
Referenced by close().
| int XrdPosix_Closedir | ( | DIR * | dirp | ) |
References XrdPosixLinkage::Closedir, XrdPosixXrootd::Closedir(), and XrdPosixXrootd::isXrootdDir().
Referenced by closedir().
| int XrdPosix_Creat | ( | const char * | path, |
| mode_t | mode | ||
| ) |
References XrdPosix_Open().
Referenced by creat64().
| int XrdPosix_Fclose | ( | FILE * | stream | ) |
References XrdPosixXrootd::Close(), XrdPosixLinkage::Fclose, and XrdPosixXrootd::myFD().
Referenced by fclose().
| int XrdPosix_Fcntl | ( | int | fd, |
| int | cmd, | ||
| ... | |||
| ) |
References XrdPosixLinkage::Fcntl64, and XrdPosixXrootd::myFD().
Referenced by fcntl64().
| int XrdPosix_Fdatasync | ( | int | fildes | ) |
References XrdPosixLinkage::Fsync, XrdPosixXrootd::Fsync(), and XrdPosixXrootd::myFD().
Referenced by fdatasync().
| int XrdPosix_Fflush | ( | FILE * | stream | ) |
References XrdPosixLinkage::Fflush, XrdPosixXrootd::Fsync(), and XrdPosixXrootd::myFD().
Referenced by fflush().
| FILE* XrdPosix_Fopen | ( | const char * | path, |
| const char * | mode | ||
| ) |
References XrdPosixXrootd::Close(), XrdPosixLinkage::Fopen64, ISMODE, XrdPosixXrootd::isStream, XrdPosixXrootd::Open(), PC3::stream(), and XrdPosixXrootPath::URL().
Referenced by fopen64().
| size_t XrdPosix_Fread | ( | void * | ptr, |
| size_t | size, | ||
| size_t | nitems, | ||
| FILE * | stream | ||
| ) |
References XrdPosixLinkage::Fread, XrdPosixXrootd::myFD(), XrdPosixXrootd::Read(), and ssize_t.
Referenced by fread().
| int XrdPosix_Fseek | ( | FILE * | stream, |
| long | offset, | ||
| int | whence | ||
| ) |
References XrdPosixLinkage::Fseek, XrdPosixXrootd::Lseek(), and XrdPosixXrootd::myFD().
Referenced by fseek().
| int XrdPosix_Fseeko | ( | FILE * | stream, |
| long long | offset, | ||
| int | whence | ||
| ) |
References XrdPosixLinkage::Fseeko64, XrdPosixXrootd::Lseek(), and XrdPosixXrootd::myFD().
Referenced by fseeko(), and fseeko64().
| int XrdPosix_Fstat | ( | int | fildes, |
| struct stat * | buf | ||
| ) |
References XrdPosixXrootd::Fstat(), XrdPosixLinkage::Fstat64, XrdPosixXrootd::myFD(), and stat64().
| int XrdPosix_Fsync | ( | int | fildes | ) |
References XrdPosixLinkage::Fsync, XrdPosixXrootd::Fsync(), and XrdPosixXrootd::myFD().
Referenced by fsync().
| long XrdPosix_Ftell | ( | FILE * | stream | ) |
References XrdPosixLinkage::Ftell, XrdPosixXrootd::Lseek(), and XrdPosixXrootd::myFD().
Referenced by ftell().
| long long XrdPosix_Ftello | ( | FILE * | stream | ) |
References XrdPosixLinkage::Ftello64, XrdPosixXrootd::Lseek(), and XrdPosixXrootd::myFD().
Referenced by ftello(), and ftello64().
| int XrdPosix_Ftruncate | ( | int | fildes, |
| long long | offset | ||
| ) |
References XrdPosixXrootd::Ftruncate(), XrdPosixLinkage::Ftruncate64, and XrdPosixXrootd::myFD().
Referenced by ftruncate(), and ftruncate64().
| size_t XrdPosix_Fwrite | ( | const void * | ptr, |
| size_t | size, | ||
| size_t | nitems, | ||
| FILE * | stream | ||
| ) |
References XrdPosixLinkage::Fwrite, XrdPosixXrootd::myFD(), and XrdPosixXrootd::Write().
Referenced by fwrite().
| int XrdPosix_isMyPath | ( | const char * | path | ) |
References XrdPosixXrootPath::URL().
| long long XrdPosix_Lseek | ( | int | fildes, |
| long long | offset, | ||
| int | whence | ||
| ) |
References XrdPosixXrootd::Lseek(), XrdPosixLinkage::Lseek64, and XrdPosixXrootd::myFD().
| int XrdPosix_Lstat | ( | const char * | path, |
| struct stat * | buf | ||
| ) |
References XrdPosixLinkage::Lstat64, XrdPosixXrootd::Stat(), stat64(), and XrdPosixXrootPath::URL().
| int XrdPosix_Mkdir | ( | const char * | path, |
| mode_t | mode | ||
| ) |
References XrdPosixXrootd::Mkdir(), XrdPosixLinkage::Mkdir, and XrdPosixXrootPath::URL().
Referenced by mkdir().
| int XrdPosix_Open | ( | const char * | path, |
| int | oflag, | ||
| ... | |||
| ) |
References XrdPosixXrootd::Open(), XrdPosixLinkage::Open64, and XrdPosixXrootPath::URL().
Referenced by creat(), open(), open64(), and XrdPosix_Creat().
| DIR* XrdPosix_Opendir | ( | const char * | path | ) |
References XrdPosixXrootd::Opendir(), XrdPosixLinkage::Opendir, and XrdPosixXrootPath::URL().
Referenced by opendir().
| long XrdPosix_Pathconf | ( | const char * | path, |
| int | name | ||
| ) |
References XrdPosixLinkage::Pathconf, and XrdPosixXrootPath::URL().
Referenced by pathconf().
| long long XrdPosix_Pread | ( | int | fildes, |
| void * | buf, | ||
| unsigned long long | nbyte, | ||
| long long | offset | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Pread(), and XrdPosixLinkage::Pread64.
| long long XrdPosix_Pwrite | ( | int | fildes, |
| const void * | buf, | ||
| unsigned long long | nbyte, | ||
| long long | offset | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Pwrite(), and XrdPosixLinkage::Pwrite64.
Referenced by pwrite(), and pwrite64().
| long long XrdPosix_Read | ( | int | fildes, |
| void * | buf, | ||
| unsigned long long | nbyte | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixLinkage::Read, and XrdPosixXrootd::Read().
Referenced by read().
| struct dirent* XrdPosix_Readdir | ( | DIR * | dirp | ) | [read] |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Readdir, and XrdPosixXrootd::Readdir().
| struct dirent64* XrdPosix_Readdir64 | ( | DIR * | dirp | ) | [read] |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Readdir64, and XrdPosixXrootd::Readdir64().
Referenced by readdir(), and readdir64().
| int XrdPosix_Readdir64_r | ( | DIR * | dirp, |
| struct dirent64 * | entry, | ||
| struct dirent64 ** | result | ||
| ) |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Readdir64_r, and XrdPosixXrootd::Readdir64_r().
Referenced by readdir64_r(), and readdir_r().
| int XrdPosix_Readdir_r | ( | DIR * | dirp, |
| struct dirent * | entry, | ||
| struct dirent ** | result | ||
| ) |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Readdir_r, and XrdPosixXrootd::Readdir_r().
Referenced by readdir_r().
| long long XrdPosix_Readv | ( | int | fildes, |
| const struct iovec * | iov, | ||
| int | iovcnt | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixLinkage::Readv, and XrdPosixXrootd::Readv().
Referenced by readv().
| int XrdPosix_Rename | ( | const char * | oname, |
| const char * | nname | ||
| ) |
References XrdPosixXrootd::Rename(), XrdPosixLinkage::Rename, and XrdPosixXrootPath::URL().
Referenced by rename().
| void XrdPosix_Rewinddir | ( | DIR * | dirp | ) |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Rewinddir, and XrdPosixXrootd::Rewinddir().
Referenced by rewinddir().
| int XrdPosix_Rmdir | ( | const char * | path | ) |
References XrdPosixXrootd::Rmdir(), XrdPosixLinkage::Rmdir, and XrdPosixXrootPath::URL().
Referenced by rmdir().
| void XrdPosix_Seekdir | ( | DIR * | dirp, |
| long | loc | ||
| ) |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Seekdir, and XrdPosixXrootd::Seekdir().
Referenced by seekdir().
| int XrdPosix_Stat | ( | const char * | path, |
| struct stat * | buf | ||
| ) |
References XrdPosixXrootd::Stat(), stat64(), XrdPosixLinkage::Stat64, and XrdPosixXrootPath::URL().
| int XrdPosix_Statfs | ( | const char * | path, |
| struct statfs * | buf | ||
| ) |
References XrdPosixXrootd::Statfs(), statfs64(), XrdPosixLinkage::Statfs64, and XrdPosixXrootPath::URL().
Referenced by statfs(), and statfs64().
| int XrdPosix_Statvfs | ( | const char * | path, |
| struct statvfs * | buf | ||
| ) |
References XrdPosixXrootd::Statvfs(), statvfs64(), XrdPosixLinkage::Statvfs64, and XrdPosixXrootPath::URL().
Referenced by statvfs(), and statvfs64().
| long XrdPosix_Telldir | ( | DIR * | dirp | ) |
References XrdPosixXrootd::isXrootdDir(), XrdPosixLinkage::Telldir, and XrdPosixXrootd::Telldir().
Referenced by telldir().
| int XrdPosix_Truncate | ( | const char * | path, |
| long long | offset | ||
| ) |
References XrdPosixXrootd::Truncate(), XrdPosixLinkage::Truncate64, and XrdPosixXrootPath::URL().
Referenced by truncate(), and truncate64().
| int XrdPosix_Unlink | ( | const char * | path | ) |
References XrdPosixXrootd::Unlink(), XrdPosixLinkage::Unlink, and XrdPosixXrootPath::URL().
Referenced by unlink().
| char* XrdPosix_URL | ( | const char * | path, |
| char * | buff, | ||
| int | blen | ||
| ) |
References XrdPosixXrootPath::URL().
Referenced by main().
| long long XrdPosix_Write | ( | int | fildes, |
| const void * | buf, | ||
| unsigned long long | nbyte | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixLinkage::Write, and XrdPosixXrootd::Write().
Referenced by write().
| long long XrdPosix_Writev | ( | int | fildes, |
| const struct iovec * | iov, | ||
| int | iovcnt | ||
| ) |
References XrdPosixXrootd::myFD(), XrdPosixLinkage::Writev, and XrdPosixXrootd::Writev().
Referenced by writev().
1.7.3