DoxigAlpha

prep_openat

Function parameters

Parameters

#
sqe:*linux.io_uring_sqe
fd:linux.fd_t
path:[*:0]const u8
flags:linux.O
mode:linux.mode_t

Type definitions in this namespace

Types

#

Source

Implementation

#
pub fn prep_openat(
    sqe: *linux.io_uring_sqe,
    fd: linux.fd_t,
    path: [*:0]const u8,
    flags: linux.O,
    mode: linux.mode_t,
) void {
    sqe.prep_rw(.OPENAT, fd, @intFromPtr(path), mode, 0);
    sqe.rw_flags = @bitCast(flags);
}