Reference

XkbSAGroup(3) on Linux

The text bb3f2a31db8a, as Debian 8 (Jessie) shipped it.

Returns the group_XXX field of act converted to a signed int

XkbSAGroup(3) on Linux now