SDL_!PollEvent?
NAME SYNOPSIS DESCRIPTION EXAMPLES SEE ALSO
SDL_!PollEvent?- Polls for currently pending events.
#include
int SDL_!PollEvent?(__SDL_Event
Polls for currently pending events, and returns 1 if there are any pending events, or 0 if there are none available.
If event is not NULL, the next event is removed from the queue and stored in that area.
SDL_Event event; /* Event structure / . . . / Check for events */ while(SDL_!PollEvent?(
SDL_Event, SDL_!WaitEvent?, SDL_!PeepEvents?
One page links to SDL_PollEvent(3):