Penguin
Note: You are viewing an old revision of this page. View the current version.

SDL_PollEvent?

SDL_PollEvent?

NAME SYNOPSIS DESCRIPTION EXAMPLES SEE ALSO


NAME

SDL_PollEvent?- Polls for currently pending events.

SYNOPSIS

#include

int SDL_PollEvent?(__SDL_Event

  • event__);

DESCRIPTION

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.

EXAMPLES

SDL_Event event; /* Event structure / . . . / Check for events */ while(SDL_PollEvent?(

SEE ALSO

SDL_Event, SDL_WaitEvent?, SDL_PeepEvents?


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