MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / oflags_for_open_how

Function oflags_for_open_how

src/backend/linux_raw/conv.rs:405–407  ·  view source on GitHub ↗
(oflags: OFlags)

Source from the content-addressed store, hash-verified

403 /// Convert an `OFlags` into a `u64` for use in the `open_how` struct.
404 #[inline]
405 pub(crate) fn oflags_for_open_how(oflags: OFlags) -> u64 {
406 u64::from(oflags_bits(oflags))
407 }
408
409 impl<'a, Num: ArgNumber> From<crate::fs::FallocateFlags> for ArgReg<'a, Num> {
410 #[inline]

Callers

nothing calls this directly

Calls 1

oflags_bitsFunction · 0.85

Tested by

no test coverage detected