io_uring_prep_read

fnvoid io_uring_prep_read(io_uring_sqe * sqe, int fd, void * buf, uint len, ulong offset, ulong user_data) pure @system

Prepare an SQE for a READ operation.

Parameters

sqePointer to the SQE to prepare.
fdFile descriptor to read from.
bufPointer to the buffer to read into.
lenNumber of bytes to read.
offsetFile offset to read from (use cast(ulong)-1 for current position).
user_dataUser data to be returned with the completion.