Reference

XIMOfIC(3) on Linux

The text 06f1da2914a5, as Debian 9 (Stretch) shipped it.

create, destroy, and obtain the input method of an input context

XIMOfIC(3) on Linux now