shm::shmdt! [] [src]

macro_rules! shmdt {
    ($addr: expr) => ({
        extern crate shm;
        match unsafe {
            shm::ffi::shmdt (
                $addr
            )
        } {
            -1 => false,
            _ => true,
        }
    });
}

The shmdt macro detaches the shared memory from the memory address.