Method System.setresgid()
- Method setresgid
intsetresgid(intrgid,integid,intsgid)- Description
Sets the real, effective and saved group ID to
rgid,egidandsgidrespectively.- Returns
Returns zero on success and errno on failure.
int setresgid(int rgid, int egid, int sgid)
Sets the real, effective and saved group ID to rgid,
egid and sgid respectively.
Returns zero on success and errno on failure.