Writes data from this pipe to a position in a file descriptor.
impl Pipe {
fn write_to_at<T>(&self, dst: &T, at: &mut u64, n: usize, flags: SpliceFlags) -> Result<usize, Errno>
where T: FDContainer,
}| Name | Description |
|---|---|
| dst | The file descriptor to write to. |
| at | The position at which to write. |
| n | The number of bytes to write. |
| flags | Flags to use while writing. |
Returns the number of bytes written.
self must be the read-end of a pipe. The read-position in the file will not be changed.
If lrs was compiled with the retry option, this call will automatically retry the operation if the call was interrupted by a signal.