tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_detachsharedmemory.rst (477B)


      1 PR_DetachSharedMemory
      2 =====================
      3 
      4 Unmaps a shared memory segment identified by name.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prshm.h>
     13 
     14   NSPR_API( PRStatus )
     15     PR_DetachSharedMemory(
     16        PRSharedMemory *shm,
     17        void  *addr
     18   );
     19 
     20 
     21 Parameters
     22 ~~~~~~~~~~
     23 
     24 The function has these parameters:
     25 
     26 shm
     27   The handle returned from :ref:`PR_OpenSharedMemory`.
     28 addr
     29   The address to which the shared memory segment is mapped.
     30 
     31 
     32 Returns
     33 ~~~~~~~
     34 
     35 :ref:`PRStatus`.