hpux man page for xpending

Query: xpending

OS: hpux

Section: 3

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

XPending()																XPending()

Name
  XPending - return the number of pending events.

Synopsis
  int XPending(display)
	Display *display;

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

Returns
  The number of events.

Description
  XPending()  returns the number of events that have been received by Xlib from the server, but not yet removed from the queue.  If there are
  no events on the queue, XPending() flushes the request buffer, and returns the number of events transferred to the input queue as a  result
  of the flush.

  The QLength macro or XQLength() returns the number of events on the queue, but without flushing the request buffer first.

  For more information, see Volume One, Chapter 8, Events.

See Also
  XQLength(),	XAllowEvents(),   XCheckIfEvent(),   XCheckMaskEvent(),  XCheckTypedEvent(),  XCheckTypedWindowEvent(),  XCheckWindowEvent(),
  XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(),  XMaskEvent(),  XNextEvent(),  XPeekEvent(),  XPeekIfEvent(),  XPutBack-
  Event(), XSelectInput(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent().

Xlib - Input Handling															XPending()
Related Man Pages
xflush(3) - debian
xpending(3) - debian
xeventsqueued(3) - suse
xpending(3) - suse
xeventsqueued(3) - hpux
Similar Topics in the Unix Linux Community
Deleting the contents of a folder older than X hours
C - HTTP Socket Programming
Handle int listen(int sockfd, int backlog) in TCP
Debugging Web Page using REXX
For Loop in shellscript - Printing Output for every iteration