Penguin
Blame: SDL_PeepEvents(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_PeepEvents(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!PeepEvents
2 !!!SDL_!PeepEvents
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!PeepEvents- Checks the event queue for messages and optionally returns them.
1 perry 13 !!SYNOPSIS
14
15
16 __#include __
17
18
2 perry 19 __int SDL_!PeepEvents__(__SDL_Event *events, int
1 perry 20 numevents, SDL_eventaction action, Uint32
21 mask__);
22 !!DESCRIPTION
23
24
25 Checks the event queue for messages and optionally returns
26 them.
27
28
29 If __action__ is __SDL_ADDEVENT__, up to
30 __numevents__ events will be added to the back of the
31 event queue.
32
33
34 If __action__ is __SDL_PEEKEVENT__, up to
35 __numevents__ events at the front of the event queue,
36 matching __mask__, will be returned and will not be
37 removed from the queue.
38
39
40 If __action__ is __SDL_GETEVENT__, up to
41 __numevents__ events at the front of the event queue,
42 matching __mask__, will be returned and will be removed
43 from the queue.
44
45
46 This function is thread-safe.
47 !!RETURN VALUE
48
49
50 This function returns the number of events actually stored,
51 or __-1__ if there was an error.
52 !!SEE ALSO
53
54
2 perry 55 __SDL_Event__, __SDL_!PollEvent__,
56 __SDL_!PushEvent__
1 perry 57 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.