forked from mirrors/gecko-dev
Depends on D137612 Differential Revision: https://phabricator.services.mozilla.com/D137650
30 lines
378 B
ReStructuredText
30 lines
378 B
ReStructuredText
PR_CloseSemaphore
|
|
=================
|
|
|
|
Closes a specified semaphore.
|
|
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. code:: eval
|
|
|
|
#include <pripcsem.h>
|
|
|
|
NSPR_API(PRStatus) PR_CloseSemaphore(PRSem *sem);
|
|
|
|
|
|
Parameter
|
|
~~~~~~~~~
|
|
|
|
The function has the following parameter:
|
|
|
|
``sem``
|
|
A pointer to a ``PRSem`` structure returned from a call to
|
|
:ref:`PR_OpenSemaphore`.
|
|
|
|
|
|
Returns
|
|
~~~~~~~
|
|
|
|
:ref:`PRStatus`
|