io_uring_prep_splice
fn
void io_uring_prep_splice(io_uring_sqe * sqe, int fd_in, ulong off_in,
int fd_out, ulong off_out, uint len, uint flags,
ulong user_data) pure @systemPrepare an SQE for a SPLICE operation.
Moves data between two file descriptors without copying through user space. At least one of fd_in or fd_out must be a pipe.
Parameters
sqe | Pointer to the SQE to prepare. |
fd_in | Input file descriptor. |
off_in | Input offset (cast(ulong)-1 for current position). |
fd_out | Output file descriptor. |
off_out | Output offset (cast(ulong)-1 for current position). |
len | Number of bytes to splice. |
flags | Splice flags (SPLICE_F_*). |
user_data | User data to be returned with the completion. |