1SDL_WaitEvent(3) SDL API Reference SDL_WaitEvent(3)
23
4
NAME
6SDL_WaitEvent - Waits indefinitely for the next available event.
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_WaitEvent(SDL_Event *event);
12
DESCRIPTION
14Waits indefinitely for the next available event, returning 1, or 0 if
15there was an error while waiting for events.
1617
If event is not NULL, the next event is removed from the queue and
18stored in that area.
19
SEE ALSO
21SDL_Event, SDL_PollEvent
2223
24
25
SDL Tue 11 Sep 2001, 23:00 SDL_WaitEvent(3)