pr_postsemaphore.rst (387B)
1 PR_PostSemaphore 2 ================ 3 4 Increments the value of a specified semaphore. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <pripcsem.h> 13 14 NSPR_API(PRStatus) PR_PostSemaphore(PRSem *sem); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 The function has the following parameter: 21 22 ``sem`` 23 A pointer to a ``PRSem`` structure returned from a call to 24 :ref:`PR_OpenSemaphore`. 25 26 27 Returns 28 ~~~~~~~ 29 30 :ref:`PRStatus`