Writes to a file descriptor at an offset, retrying on EINTR.
Declared in <folly/FileUtil.h>
ssize_t
pwriteNoInt(
int fd,
void const* buf,
size_t count,
off_t offset);
The number of bytes written, or -1 on error.
| Name | Description |
|---|---|
| fd | The file descriptor to write to. |
| buf | Source buffer. |
| count | Number of bytes to write. |
| offset | File offset to write at. |