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
xdisplayname(3) - debian
xgeterrortext(3) - debian
xdisplayname(3) - suse
xgeterrordatabasetext(3) - suse
xseterrorhandler(3x) - hpux
Similar Topics in the Unix Linux Community
Unix File Permissions
How to list file size on HPUX?
SAN Migration question
Thank you members and admins
Wrong Array...