#include <stdarg.h>
#include <fcntl.h>
Go to the source code of this file.
Functions | |
int | dce_creat (const char *path, mode_t mode) |
int | dce_fcntl (int fd, int cmd,...) |
int | dce_open (const char *path, int flags,...) |
int | dce_open64 (const char *path, int flags,...) |
int | dce_unlinkat (int dirfd, const char *pathname, int flags) |
int dce_creat | ( | const char * | path, |
mode_t | mode | ||
) |
Definition at line 138 of file dce-fd.cc.
References dce_open().
Referenced by ns3::DceManager::CreatePidFile().
int dce_fcntl | ( | int | fd, |
int | cmd, | ||
... | |||
) |
Definition at line 656 of file dce-fd.cc.
References ns3::Current(), dce_dup(), OPENED_FD_METHOD, and ns3::UtilsGetNodeId().
int dce_open | ( | const char * | path, |
int | flags, | ||
... | |||
) |
Definition at line 78 of file dce-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, ns3::UnixFd::IncFdCount(), ns3::Process::minimizeFiles, ns3::Process::openFiles, ns3::Thread::process, ns3::UtilsAllocateFd(), ns3::UtilsGetNodeId(), and ns3::UtilsGetRealFilePath().
Referenced by dce_creat(), dce_fopen(), dce_fopen64(), dce_freopen(), dce_open64(), dce_opendir(), dce_truncate(), ns3::DceManager::EnsureDirectoryExists(), and ns3::LinuxSocketFdFactory::Open().
int dce_open64 | ( | const char * | path, |
int | flags, | ||
... | |||
) |
Definition at line 67 of file dce-fd.cc.
References dce_open().
int dce_unlinkat | ( | int | dirfd, |
const char * | pathname, | ||
int | flags | ||
) |
Definition at line 76 of file dce-at.cc.
References ns3::Current(), ns3::Thread::err, errno, ns3::getRealFd(), ns3::PathOfFd(), unlink_notify(), ns3::UtilsGetCurrentDirName(), ns3::UtilsGetNodeId(), and ns3::UtilsGetRealFilePath().