![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Remove a shared memory reference
int PgShmemDetach( void *addr );
ph
This function removes a shared memory reference previously attached with PgShmemAttach().
![]()  | 
The shared memory object persists until no other applications refer to it. Don't use the same name for another shared memory object, especially right after detaching the first one. | 
See the errors for shm_unlink() in the QNX Neutrino Library Reference.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
![]()  | 
![]()  | 
![]()  | 
![]()  |