Writes to an offset in the file.
impl File {
fn write_at(&self, buf: &[u8], off: i64) -> Result<usize, Errno>
}| Name | Description |
|---|---|
| buf | The buffer that will be written to the file. |
| off | The position in the file at which to write. |
Returns the number of bytes written.
This function does not change the read/write position of the file description.
If lrs was compiled with the retry option, this call will automatically retry the operation if the call was interrupted by a signal.