Sha256: 2206eac8ee74951b995e1e80f10bf235cc6b04e0a099f4adefce546378838233
Contents?: true
Size: 744 Bytes
Versions: 15
Compression:
Stored size: 744 Bytes
Contents
use crate::backend::c; use bitflags::bitflags; bitflags! { /// `O_*` constants for use with [`shm_open`]. /// /// [`shm_open`]: crate:shm::shm_open #[repr(transparent)] #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] pub struct ShmOFlags: u32 { /// `O_CREAT` #[doc(alias = "CREAT")] const CREATE = bitcast!(c::O_CREAT); /// `O_EXCL` const EXCL = bitcast!(c::O_EXCL); /// `O_RDONLY` const RDONLY = bitcast!(c::O_RDONLY); /// `O_RDWR` const RDWR = bitcast!(c::O_RDWR); /// `O_TRUNC` const TRUNC = bitcast!(c::O_TRUNC); /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } }
Version data entries
15 entries across 15 versions & 1 rubygems