Writes to the file.
impl File {
fn write(&self, buf: &[u8]) -> Result<usize, Errno>
}| Name | Description |
|---|---|
| buf | The buffer that will be written to the file. |
Returns the number of bytes written.
If lrs was compiled with the retry option, this call will automatically retry the operation if the call was interrupted by a signal.