Io_Uring module

prep_rw

procedureextensionsince 0.31.0Source

Sets the fields most operations share: read, write, accept, send, recv... address and length describe the buffer, offset the file position (or the operation's second argument).

prep_rw :: (
    sqe: *io_uring_sqe,
    opcode: io_uring_op,
    fd: s32,
    address: *void,
    length: u32,
    offset: u64
)

Parameters

opcode: io_uring_op
fd: s32
address: *void
length: u32
offset: u64

See also