Function sdl2_sys::SDL_SemValue

source ·
pub unsafe extern "C" fn SDL_SemValue(sem: *mut SDL_sem) -> Uint32
Expand description

Get the current value of a semaphore.

\param sem the semaphore to query \returns the current value of the semaphore.

\since This function is available since SDL 2.0.0.

\sa SDL_CreateSemaphore