io_uring_prep_splice

fnvoid 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 @system

Prepare 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

sqePointer to the SQE to prepare.
fd_inInput file descriptor.
off_inInput offset (cast(ulong)-1 for current position).
fd_outOutput file descriptor.
off_outOutput offset (cast(ulong)-1 for current position).
lenNumber of bytes to splice.
flagsSplice flags (SPLICE_F_*).
user_dataUser data to be returned with the completion.