shm_open and shm_unlink
error handling