Unit 'Linux' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

setreuid

Declaration

Source position: linux.pp line 494

function setreuid(

  ruid: uid_t;

  euid: uid_t

):cint;

Description

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.

Errors

On Error, -1 is returned. fpgeterrno can be used to get more detailed error information.

See also

setregid

  

Set Real and Effective Group ID.


Documentation generated on: Nov 22 2024