XPending man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

XFlush(3X11)			     X11R5			  XFlush(3X11)

NAME
       XFlush, XSync, XEventsQueued, XPending - handle output buffer or event
       queue

SYNTAX
       XFlush(display)
	     Display *display;

       XSync(display, discard)
	     Display *display;
	     Bool discard;

       int XEventsQueued(display, mode)
	    Display *display;
	    int mode;

       int XPending(display)
	     Display *display;

ARGUMENTS
       discard	 Specifies a Boolean value that indicates whether discards all
		 events on the event queue.

       display	 Specifies the connection to the X server.

       mode	 Specifies the mode.  You can pass or

DESCRIPTION
       The function flushes the output buffer.	Most client applications need
       not use this function because the output buffer is automatically
       flushed as needed by calls to and Events generated by the server may be
       enqueued into the library's event queue.

       The function flushes the output buffer and then waits until all
       requests have been received and processed by the X server.  Any errors
       generated must be handled by the error handler.	For each protocol
       error received by Xlib, calls the client application's error handling
       routine (see section 11.8.2).  Any events generated by the server are
       enqueued into the library's event queue.

       Finally, if you passed does not discard the events in the queue.	 If
       you passed discards all events in the queue, including those events
       that were on the queue before was called.  Client applications seldom
       need to call

       If mode is returns the number of events already in the event queue (and
       never performs a system call).  If mode is returns the number of events
       already in the queue if the number is nonzero.  If there are no events
       in the queue, flushes the output buffer, attempts to read more events
       out of the application's connection, and returns the number read.  If
       mode is returns the number of events already in the queue if the number
       is nonzero.  If there are no events in the queue, attempts to read more
       events out of the application's connection without flushing the output
       buffer and returns the number read.

       always returns immediately without I/O if there are events already in
       the queue.  with mode is identical in behavior to with mode is identi‐
       cal to the function.

       The function returns the number of events that have been received from
       the X server but have not been removed from the event queue.  is iden‐
       tical to with the mode specified.

SEE ALSO
       AllPlanes(3X11), XIfEvent(3X11), XNextEvent(3X11), XPutBackEvent(3X11)
       Xlib - C Language X Interface

								  XFlush(3X11)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net