Reference

XkbSARedirectVMods(3) on Linux

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

Returns the vmods0 and vmods1 fields of act converted to an unsigned int

XkbSARedirectVMods(3) on Linux now