Function ctru_sys::svcReleaseSemaphore
source · pub unsafe extern "C" fn svcReleaseSemaphore(
count: *mut s32,
semaphore: Handle,
release_count: s32
) -> Result
Expand description
Releases a semaphore.
§Arguments
count
(direction out) - Pointer to output the current count of the semaphore to.semaphore
- Handle of the semaphore.release_count
- Number to increase the semaphore count by.