DoxigAlpha

prep_timeout

Function parameters

Parameters

#
sqe:*linux.io_uring_sqe
ts:*const linux.kernel_timespec
count:u32
flags:u32

Type definitions in this namespace

Types

#

Source

Implementation

#
pub fn prep_timeout(
    sqe: *linux.io_uring_sqe,
    ts: *const linux.kernel_timespec,
    count: u32,
    flags: u32,
) void {
    sqe.prep_rw(.TIMEOUT, -1, @intFromPtr(ts), 1, count);
    sqe.rw_flags = flags;
}