Reference

XtMainLoop(3x) on Linux

The text 6028a50ab61a, as Debian 3.0 (Woody) shipped it.

query and process events and input

XtMainLoop(3x) on Linux now