Reference

XkbSAGroup(3) on Linux

The text c99a05abbc4d, as Debian 10 (Buster) shipped it.

Returns the group_XXX field of act converted to a signed int

XkbSAGroup(3) on Linux now