#pragma section-numbers off #pragma camelcase off = SDL_SemValue = Use this function to get the current value of a semaphore. <> == Syntax == {{{#!highlight cpp Uint32 SDL_SemValue(SDL_sem* sem) }}} == Function Parameters == ||'''sem'''||the semaphore to query|| == Return Value == Returns the current value of the semaphore. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_CreateSemaphore]] ---- [[CategoryAPI]], [[CategoryMutex]]