Struct rustix_uring::opcode::OpenAt
source · pub struct OpenAt { /* private fields */ }
Expand description
Open a file, equivalent to openat(2)
.
Implementations§
source§impl OpenAt
impl OpenAt
pub fn new(dirfd: impl UseFd, pathname: *const c_char) -> Self
sourcepub const CODE: IoringOp = _
pub const CODE: IoringOp = _
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.