mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
PR_DetachSharedMemory
 | 
						|
=====================
 | 
						|
 | 
						|
Unmaps a shared memory segment identified by name.
 | 
						|
 | 
						|
 | 
						|
Syntax
 | 
						|
------
 | 
						|
 | 
						|
.. code::
 | 
						|
 | 
						|
   #include <prshm.h>
 | 
						|
 | 
						|
   NSPR_API( PRStatus )
 | 
						|
     PR_DetachSharedMemory(
 | 
						|
        PRSharedMemory *shm,
 | 
						|
        void  *addr
 | 
						|
   );
 | 
						|
 | 
						|
 | 
						|
Parameters
 | 
						|
~~~~~~~~~~
 | 
						|
 | 
						|
The function has these parameters:
 | 
						|
 | 
						|
shm
 | 
						|
   The handle returned from :ref:`PR_OpenSharedMemory`.
 | 
						|
addr
 | 
						|
   The address to which the shared memory segment is mapped.
 | 
						|
 | 
						|
 | 
						|
Returns
 | 
						|
~~~~~~~
 | 
						|
 | 
						|
:ref:`PRStatus`.
 |