Penguin
Blame: SDL_PollEvent(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_PollEvent(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!PollEvent
2 !!!SDL_!PollEvent
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 SDL_!PollEvent- Polls for currently pending events.
13 !!SYNOPSIS
14
15
16 __#include __
17
18
19 __int SDL_!PollEvent__(__SDL_Event
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 */
39 while(SDL_!PollEvent(
40 !!SEE ALSO
41
42
43 __SDL_Event__, __SDL_!WaitEvent__,
44 __SDL_!PeepEvents__
45 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.