Query: sdl_peepevents
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_PeepEvents(3) SDL API Reference SDL_PeepEvents(3)NAMESDL_PeepEvents- Checks the event queue for messages and optionally returns them.SYNOPSIS#include "SDL.h" int SDL_PeepEvents(SDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask);DESCRIPTIONChecks 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 VALUEThis function returns the number of events actually stored, or -1 if there was an error.SEE ALSOSDL_Event, SDL_PollEvent, SDL_PushEventSDLTue 11 Sep 2001, 22:59 SDL_PeepEvents(3)
Related Man Pages |
---|
sdl_event(3) - redhat |
xcheckmaskevent(3x11) - ultrix |
sdl_seteventfilter(3) - suse |
xtapppeekevent(3) - hpux |
sdl::events(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Reduced Activity Notification |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
[TIP] Processing YAML files with yq |