Writes to an offset in a file descriptor.
fn pwrite(fd: i32, buf: &[u8], offset: i64) -> i64
| Name | Description |
|---|---|
| fd | The affected file descriptor. |
| buf | The buffer to write. |
| offset | The offset at which to write. |
Returns the number of bytes written or an error value.