Sign in Join
FPDoc Onlineexperiment

setreuid function

In unit Linux

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.