Sign in Join
FPDoc Onlineexperiment

setregid function

In unit Linux

Set Real and Effective Group ID.

Declaration

pascal
function setregid(rgid: uid_t; egid: uid_t): cint

Description

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.

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.