Reference

XFetchBytes(3) on Linux

The text 63df4020fb65, as Debian 7 (Wheezy) shipped it.

manipulate cut and paste buffers

XFetchBytes(3) on Linux now