nix::sys::mman

Function shm_open

Source
pub fn shm_open<P: ?Sized + NixPath>(
    name: &P,
    flag: OFlag,
    mode: Mode,
) -> Result<RawFd>
Expand description

Creates and opens a new, or opens an existing, POSIX shared memory object.

For more information, see shm_open(3).