| [Overview][Constants][Types][Procedures and functions][Index] | 
Source position: linux.pp line 462
| function setreuid( | 
| ruid: uid_t; | 
| euid: uid_t | 
| ):cint; | 
setreuid sets the real user ID to ruid and the effective user ID to euid. 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.
| 
 | Set Real and Effective Group ID |