Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_PeepEvents(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!PeepEvents !!!SDL_!PeepEvents NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO ---- !!NAME SDL_!PeepEvents- Checks the event queue for messages and optionally returns them. !!SYNOPSIS __#include __ __int SDL_!PeepEvents__(__SDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask__); !!DESCRIPTION Checks the event queue for messages and optionally returns them. If __action__ is __SDL_ADDEVENT__, up to __numevents__ events will be added to the back of the event queue. If __action__ is __SDL_PEEKEVENT__, up to __numevents__ events at the front of the event queue, matching __mask__, will be returned and will not be removed from the queue. If __action__ is __SDL_GETEVENT__, up to __numevents__ events at the front of the event queue, matching __mask__, will be returned and will be removed from the queue. This function is thread-safe. !!RETURN VALUE This function returns the number of events actually stored, or __-1__ if there was an error. !!SEE ALSO __SDL_Event__, __SDL_!PollEvent__, __SDL_!PushEvent__ ----
One page links to
SDL_PeepEvents(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.