summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_deletesharedmemory.rst
blob: 3e39bd6e04f7de06601b5f970eada93658d0ead2 (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_DeleteSharedMemory
=====================

Deletes a shared memory segment identified by name.


Syntax
------

.. code::

   #include <prshm.h>

   NSPR_API( PRStatus )
     PR_DeleteSharedMemory(
        const char *name
   );


Parameter
~~~~~~~~~

The function has these parameter:

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


Returns
~~~~~~~

:ref:`PRStatus`.