pr_deletesemaphore.rst (415B)
1 PR_DeleteSemaphore 2 ================== 3 4 Removes a semaphore specified by name from the system. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <pripcsem.h> 13 14 NSPR_API(PRStatus) PR_DeleteSemaphore(const char *name); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 The function has the following parameter: 21 22 ``name`` 23 The name of a semaphore that was previously created via a call to 24 :ref:`PR_OpenSemaphore`. 25 26 27 Returns 28 ~~~~~~~ 29 30 :ref:`PRStatus`