proxygen
SysUio.h File Reference

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

ssize_t preadv (int fd, const iovec *iov, int count, off_t offset)
 
ssize_t pwritev (int fd, const iovec *iov, int count, off_t offset)
 

Variables

constexpr size_t folly::kIovMax = UIO_MAXIOV
 

Function Documentation

ssize_t preadv ( int  fd,
const iovec *  iov,
int  count,
off_t  offset 
)

Definition at line 52 of file SysUio.cpp.

References wrapPositional().

Referenced by folly::preadvFull().

52  {
53  return wrapPositional(readv, fd, offset, iov, count);
54 }
static int wrapPositional(F f, int fd, off_t offset, Args...args)
Definition: SysUio.cpp:28
int * count
ssize_t pwritev ( int  fd,
const iovec *  iov,
int  count,
off_t  offset 
)

Definition at line 58 of file SysUio.cpp.

References count, folly::kIovMax, fizz::detail::read(), SCOPE_EXIT, wrapPositional(), and fizz::detail::write().

Referenced by folly::pwritevFull().

58  {
59  return wrapPositional(writev, fd, offset, iov, count);
60 }
static int wrapPositional(F f, int fd, off_t offset, Args...args)
Definition: SysUio.cpp:28
int * count