int shm_detach
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.