hpux man page for xsync

Query: xsync

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XSync() 																   XSync()

Name
  XSync - flush the request buffer and wait for all events and errors to be processed by the server.

Synopsis
  XSync(display, discard)
	Display *display;
	int discard;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  discard   Specifies whether XSync() discards all events on the input queue.  This argument is either True or False.

Description
  XSync()  flushes  the request buffer, then waits until all events and errors resulting from previous calls have been received and processed
  by the X server.  Events are placed on the input queue.  The client's XError routine is called once for each error received.

  If discard is True, XSync() discards all events on the input queue (including those events that  were  on  the  queue  before  XSync()  was
  called).

  XSync()  is  sometimes used with window manipulation functions (by the window manager) to wait for all resulting exposure events.  Very few
  clients need to use this function.

See Also
  XFlush().

Xlib - Output Buffer															   XSync()
Related Man Pages
xsync(3) - debian
xsync(3) - centos
xflush(3) - suse
xpending(3) - suse
xflush(3) - linux
Similar Topics in the Unix Linux Community
Trying to sync X11 application with vertical retrace.
X11: convert a string into keysym
[xlib] Image has just 1/4 size
XCB crash while Video Rendering in multithreded application
Linux (Xlib) Application hangs on GetGeometry()