Get the current value of a semaphore.
Defined in SDL_mutex.h
Uint32 SDL_SemValue(SDL_sem * sem);
sem | the semaphore to query |
Returns the current value of the semaphore.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction