SDL_!SemValue?
NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO
SDL_!SemValue?- Return the current value of a semaphore.
#include
Uint32 SDL_!SemValue?(__SDL_sem
SDL_!SemValue?() returns the current semaphore value from the semaphore pointed to by sem.
Returns current value of the semaphore.
sem_value = SDL_!SemValue?(my_sem);
SDL_!CreateSemaphore?, SDL_!DestroySemaphore?, SDL_!SemWait?, SDL_!SemTryWait?, SDL_!SemWaitTimeout?, SDL_!SemPost?
One page links to SDL_SemValue(3):