1
0
Fork 0
firefox/docs/nspr/reference/pr_detachsharedmemory.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

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`.