Copies data between two file descriptors.
fn splice(fd_in: i32, off_in: Option<&mut u64>, fd_out: i32, off_out: Option<&mut u64>, len: usize, flags: u32) -> i64
| Name | Description |
|---|---|
| fd_in | The file to copy from. |
| off_in | The position to copy from. |
| fd_out | The file to copy to. |
| off_out | The position to copy to. |
| len | The number of bytes to copy. |
| flags | Flags to use while copying. |
Returns the number of bytes copied.