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: u8 = 28u8
pub const CODE: u8 = 28u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.