Reference

XSetIMValues(3) on Linux

The text 9a5bd289f21f, as Debian 5.0 (Lenny) shipped it.

open, close, and obtain input method information

XSetIMValues(3) on Linux now