Reference

XkbSAGroup(3) on Linux

The text a4250da158f5, as Debian 7 (Wheezy) shipped it.

Returns the group_XXX field of act converted to a signed int

XkbSAGroup(3) on Linux now