Reference

XCopyColormapAndFree(3) on Linux

The text 024ef847af1c, as Debian 4.0 (Etch) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now