Sets the real and effective group IDs. This function is OpenVMS Alpha and Integrity servers only. Format #include <unistd.h> int setregid (gid_t rgid, gid_t egid);