[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Linux' (#rtl)

setreuid

Declaration

Source position: linux.pp line 462

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: Sep 28 2017