proxygen
FileUtil.cpp File Reference
#include <folly/FileUtil.h>
#include <cerrno>
#include <string>
#include <system_error>
#include <vector>
#include <folly/detail/FileUtilDetail.h>
#include <folly/net/NetOps.h>
#include <folly/portability/Fcntl.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Stdlib.h>
#include <folly/portability/SysFile.h>
#include <folly/portability/SysStat.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

int folly::openNoInt (const char *name, int flags, mode_t mode)
 
static int folly::filterCloseReturn (int r)
 
int folly::closeNoInt (int fd)
 
int folly::closeNoInt (NetworkSocket fd)
 
int folly::fsyncNoInt (int fd)
 
int folly::dupNoInt (int fd)
 
int folly::dup2NoInt (int oldfd, int newfd)
 
int folly::fdatasyncNoInt (int fd)
 
int folly::ftruncateNoInt (int fd, off_t len)
 
int folly::truncateNoInt (const char *path, off_t len)
 
int folly::flockNoInt (int fd, int operation)
 
int folly::shutdownNoInt (NetworkSocket fd, int how)
 
ssize_t folly::readNoInt (int fd, void *buf, size_t count)
 
ssize_t folly::preadNoInt (int fd, void *buf, size_t count, off_t offset)
 
ssize_t folly::readvNoInt (int fd, const iovec *iov, int count)
 
ssize_t folly::writeNoInt (int fd, const void *buf, size_t count)
 
ssize_t folly::pwriteNoInt (int fd, const void *buf, size_t count, off_t offset)
 
ssize_t folly::writevNoInt (int fd, const iovec *iov, int count)
 
ssize_t folly::readFull (int fd, void *buf, size_t count)
 
ssize_t folly::preadFull (int fd, void *buf, size_t count, off_t offset)
 
ssize_t folly::writeFull (int fd, const void *buf, size_t count)
 
ssize_t folly::pwriteFull (int fd, const void *buf, size_t count, off_t offset)
 
ssize_t folly::readvFull (int fd, iovec *iov, int count)
 
ssize_t folly::preadvFull (int fd, iovec *iov, int count, off_t offset)
 
ssize_t folly::writevFull (int fd, iovec *iov, int count)
 
ssize_t folly::pwritevFull (int fd, iovec *iov, int count, off_t offset)
 
int folly::writeFileAtomicNoThrow (StringPiece filename, iovec *iov, int count, mode_t permissions)
 
void folly::writeFileAtomic (StringPiece filename, iovec *iov, int count, mode_t permissions)
 
void folly::writeFileAtomic (StringPiece filename, ByteRange data, mode_t permissions)
 
void folly::writeFileAtomic (StringPiece filename, StringPiece data, mode_t permissions)