Reference

XkbKeysymToModifiers(3) on Linux

The text 3781b8a25821, as Debian 6.0 (Squeeze) shipped it.

Finds the set of modifiers bound to a particular keysym on the core keyboard

XkbKeysymToModifiers(3) on Linux now