Sets the real group ID of the calling process.
int setregid(int rgid, int egid) => platform.setregid(rgid, egid);