Detaching and Removing a Shared Memory Segment – shmdt() and shmctl() System call shmdt() is used to detach a shared memory. After a shared memory is detached, it cannot be used. However, it is still there and can be re-attached back to a process’s address space, perhaps at a different address. To remove a shared memory, use shmctl().The … Read More →
↧