Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ StAfterFunc(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSetAfterFunction — set a function called after all Xlib functions. 

SYNOPSIS

int (∗XSetAfterFunction(display, procedure))() Display ∗display; int (∗procedure)();

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

procedureSpecifies the user-defined function to be called after each Xlib function.  This function is called with one argument, the display 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 13, Other Programming Techniques. 

SEE ALSO

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

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026