Reference

XkbGetIndicatorState(3) on Linux

The text 35e5a6a384d1, as Debian 7 (Wheezy) shipped it.

Obtains the current state of the keyboard indicators

XkbGetIndicatorState(3) on Linux now