Penguin

SDL_!SemValue?

SDL_!SemValue?

NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO


NAME

SDL_!SemValue?- Return the current value of a semaphore.

SYNOPSIS

#include

Uint32 SDL_!SemValue?(__SDL_sem

  • sem__);

DESCRIPTION

SDL_!SemValue?() returns the current semaphore value from the semaphore pointed to by sem.

RETURN VALUE

Returns current value of the semaphore.

EXAMPLES

sem_value = SDL_!SemValue?(my_sem);

SEE ALSO

SDL_!CreateSemaphore?, SDL_!DestroySemaphore?, SDL_!SemWait?, SDL_!SemTryWait?, SDL_!SemWaitTimeout?, SDL_!SemPost?


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.