Penguin
Blame: SDL_PollEvent(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_PollEvent(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!PollEvent
2 !!!SDL_!PollEvent
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!PollEvent- Polls for currently pending events.
1 perry 13 !!SYNOPSIS
14
15
16 __#include __
17
18
2 perry 19 __int SDL_!PollEvent__(__SDL_Event
1 perry 20 *event__);
21 !!DESCRIPTION
22
23
24 Polls for currently pending events, and returns __1__ if
25 there are any pending events, or __0__ if there are none
26 available.
27
28
29 If __event__ is not __NULL__, the next event is
30 removed from the queue and stored in that area.
31 !!EXAMPLES
32
33
34 SDL_Event event; /* Event structure */
35 .
36 .
37 .
38 /* Check for events */
2 perry 39 while(SDL_!PollEvent(
1 perry 40 !!SEE ALSO
41
42
2 perry 43 __SDL_Event__, __SDL_!WaitEvent__,
44 __SDL_!PeepEvents__
1 perry 45 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.