Reference

XtGetSelectionValues(3x) on Linux

The text a0ea5474b988, as Debian 1.1 (Buzz) shipped it.

obtain selection values

XtGetSelectionValues(3x) on Linux now