SDL_PeepEvents − Checks the event queue for messages and optionally returns them.
int SDL_PeepEvents(SDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask);
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.
This function returns the number of events actually stored, or -1 if there was an error.
SDL_Event, SDL_PollEvent, SDL_PushEvent
More Linux Commands
Tcl_IsChannelRegistered(3) - procedures for creating and man
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for
waddwstr(3ncurses) - add a string of wide characters to a cu
These functions write the characters of the (null-terminated) wchar_t character string wstr on the given window. It is similar to constructing a cchar_t for eac
Tcl_FSGetInternalRep(3) - procedures to interact with any fi
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
acl_from_text(3) - create an ACL from text - Linux man page
The acl_from_text() function converts the text form of the ACL referred to by buf_p into the internal form of an ACL and returns a pointer to the working storag
glMultiTexCoord3iARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1
CMSG_NXTHDR(3) - Access ancillary data - Linux manual page
These macros are used to create and access control messages (also called ancillary data) that are not a part of the socket payload. This control information may
XCreateFontCursor(3) - create cursors - Linux manual page...
X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font
tcl_library(n) Variables used by Tcl _______________________
The following global variables are created and managed automatically by the Tcl library. Except where noted below, these variables should normally be treated as
sigorset(3) - POSIX signal set operations. - Linux man page
These functions allow the manipulation of POSIX signal sets. sigemptyset() initializes the signal set given by set to empty, with all signals excluded from the
Tcl_GetAssocData(3) - manage associations of string keys and
These procedures allow extensions to associate their own data with a Tcl interpreter. An association consists of a string key, typically the name of the extensi
curl_easy_send(3) - sends raw data over an "easy" connection
This function sends arbitrary data over the established connection. You may use it together with curl_easy_recv(3) to implement custom protocols using libcurl.
diffpp(1) - pretty-print diff outputs with GNU enscript.....
Diffpp converts diff-jars(1)-programs output files to a format suitable to be printed with GNU enscript(1). Program annotates the changes with enscripts special