Reference

XkbSAGroup(3) on Linux

The text c8caaf297ab3, as Debian 11 (Bullseye) shipped it.

Returns the group_XXX field of act converted to a signed int

XkbSAGroup(3) on Linux now