# PR_CloseSharedMemory Closes a shared memory segment identified by name. ## Syntax ```{code} #include NSPR_API( PRStatus ) PR_CloseSharedMemory( PRSharedMemory *shm ); ``` ### Parameter The function has these parameter: shm : The handle returned from {ref}`PR_OpenSharedMemory`. ### Returns {ref}`PRStatus`.