shm_detach

shm_detach -- Disconnects from shared memory

Description

int shm_detach(long id);

Disconnects from shared memory with the given id created from shm_attach(). Remember, that the shared memory still exist in the Unix system and the data is still present.