summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_closesharedmemory.rst
blob: 221b07f2bac323edd5055bd0230f8eea64fdd88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PR_CloseSharedMemory
====================

Closes a shared memory segment identified by name.


Syntax
------

.. code::

   #include <prshm.h>

   NSPR_API( PRStatus )
     PR_CloseSharedMemory(
        PRSharedMemory *shm
   );


Parameter
~~~~~~~~~

The function has these parameter:

shm
   The handle returned from :ref:`PR_OpenSharedMemory`.


Returns
~~~~~~~

:ref:`PRStatus`.