Reference

XCopyColormapAndFree(3) on Linux

The text 73ac2704ede1, as Debian 12 (Bookworm) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now