Reference

XkbGetIndicatorState(3) on Linux

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

Obtains the current state of the keyboard indicators

XkbGetIndicatorState(3) on Linux now