| [Overview][Constants][Types][Procedures and functions][Index] | 
Set Real and Effective Group ID
Source position: linux.pp line 461
| function setregid( | 
| rgid: uid_t; | 
| egid: uid_t | 
| ):cint; | 
setregid sets the real group ID to rgid and the effective group ID to egid. Passing a value of -1 tells the system not to change that value.
On Error, -1 is returned. fpgeterrno can be used to get more detailed error information.