Struct rustix_uring::opcode::OpenAt2
source · pub struct OpenAt2 { /* private fields */ }
Expand description
Open a file, equivalent to openat2(2)
.
Implementations§
source§impl OpenAt2
impl OpenAt2
pub fn new( dirfd: impl UseFd, pathname: *const c_char, how: *const OpenHow ) -> 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.