FpGetegid

Return effective group ID

Declaration

Source position: bunxh.inc line 51

  function FpGetegid : TGid;

Description

FpGetegid returns the effective group ID of the currently running process.

Errors

None.

See also

Name Description
FpGetEUid Return effective user ID
FpGetGid Return real group ID
FpGetPid Return current process ID
FpGetPPid Return parent process ID
FpGetUid Return current user ID
FpSetGid Set the current group ID
fpSetUID Set the current user ID

Example

Program Example18;
{ Program to demonstrate the GetGid and GetEGid functions. }
Uses BaseUnix;
begin
 writeln ('Group Id = ',fpgetgid,' Effective group Id = ',fpgetegid);
end.

results matching ""

    No results matching ""