DoxigAlpha

prep_waitid

Function parameters

Parameters

#
sqe:*linux.io_uring_sqe
id_type:linux.P
id:i32
infop:*linux.siginfo_t
options:u32
flags:u32

Type definitions in this namespace

Types

#

Source

Implementation

#
pub fn prep_waitid(
    sqe: *linux.io_uring_sqe,
    id_type: linux.P,
    id: i32,
    infop: *linux.siginfo_t,
    options: u32,
    flags: u32,
) void {
    sqe.prep_rw(.WAITID, id, 0, @intFromEnum(id_type), @intFromPtr(infop));
    sqe.rw_flags = flags;
    sqe.splice_fd_in = @bitCast(options);
}