Skip to main content

linux_api/
ipc.rs

1use crate::bindings;
2use crate::posix_types::kernel_key_t;
3
4/// Specifies permissions for an ipc object. Used in `shmid64_ds`, which is used
5/// by the `shmctl` syscall.
6pub use bindings::linux_ipc64_perm as ipc64_perm;
7
8// Defined in linux/ipc.h, but bindgen doesn't seem to parse it.
9// `#define IPC_PRIVATE ((__kernel_key_t) 0)`.
10pub const IPC_PRIVATE: kernel_key_t = 0;