SDL_GetSemaphoreValue - Get the current value of a semaphore.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_GetSemaphoreValue(3)
Function Parameters
sem the semaphore to query.
Header File
Defined in SDL3/SDL_mutex.h
Name
SDL_GetSemaphoreValue - Get the current value of a semaphore.
Return Value
( Uint32 ) Returns the current value of the semaphore.
Synopsis
#include"SDL3/SDL.h"Uint32SDL_GetSemaphoreValue(SDL_Semaphore*sem);
