Scatter-reads from a file descriptor at an offset, retrying on EINTR.
Declared in <folly/FileUtil.h>
ssize_t
preadvNoInt(
int fd,
iovec const* iov,
int count,
off_t offset);
The number of bytes read, or -1 on error.
| Name | Description |
|---|---|
| fd | The file descriptor to read from. |
| iov | Array of buffers to fill. |
| count | Number of entries in iov. |
| offset | File offset to read from. |