Reference

XkbGetIndicatorState(3) on Linux

The text 90afe1fc579c, as Debian 9 (Stretch) shipped it.

Obtains the current state of the keyboard indicators

XkbGetIndicatorState(3) on Linux now