Reference

XkbSAGroup(3) on Linux

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

Returns the group_XXX field of act converted to a signed int

XkbSAGroup(3) on Linux now