io_uring_prep_read
fn
void io_uring_prep_read(io_uring_sqe * sqe, int fd, void * buf, uint len, ulong offset, ulong user_data) pure @systemPrepare an SQE for a READ operation.
Parameters
sqe | Pointer to the SQE to prepare. |
fd | File descriptor to read from. |
buf | Pointer to the buffer to read into. |
len | Number of bytes to read. |
offset | File offset to read from (use cast(ulong)-1 for current position). |
user_data | User data to be returned with the completion. |