Function prep_waitid [src]
Prototype
pub fn prep_waitid( sqe: *linux.io_uring_sqe, id_type: linux.P, id: i32, infop: *linux.siginfo_t, options: u32, flags: u32, ) void
Parameters
sqe: *linux.io_uring_sqe
id_type: linux.P
id: i32
infop: *linux.siginfo_t
options: u32
flags: u32
Source
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);
}