I have the following code snippet :
fd_mem = shm_open(MEM_NAME , O_RDWR | O_CREAT | O_EXCL , 0600); //Why do we use unlink