hpux man page for xsetafterfunction

Query: xsetafterfunction

OS: hpux

Section: 3

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

XSetAfterFunction()													       XSetAfterFunction()

Name
  XSetAfterFunction - set a function called after all Xlib functions.

Synopsis
  int (*XSetAfterFunction(display, procedure))()
	Display *display;
	int (*procedure)();

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

  procedure Specifies  the  user-defined function to be called after each Xlib function.  This function is called with one argument, the dis-
	    play pointer.

Returns
  The previous after function.

Description
  All Xlib functions that generate protocol requests call what is known as an after function after completing their work (the  default	after
  function  does  nothing).  XSetAfterFunction() allows you to write a function to be called.  XSetAfterFunction() returns the previous after
  function.

  XSynchronize() sets an after function to make sure that the input and request buffers are flushed after every Xlib routine.

  For more information, see Volume One, Chapter 15, Other Programming Techniques.

See Also
  XDisplayName(), XGetErrorDatabaseText(), XGetErrorText(), XSetErrorHandler(), XSetIOErrorHandler(), XSynchronize().

Xlib - Error Handling													       XSetAfterFunction()
Related Man Pages
xgeterrortext(3) - debian
xseterrorhandler(3) - debian
xgeterrordatabasetext(3) - centos
xseterrorhandler(3) - centos
xseterrorhandler(3) - hpux
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
Is UNIX an open source OS ?
Sequence extraction
Hpux 11iV3 administration document
Tar Command