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

GetGid

Return real group ID

Declaration

Source position: linuxold.inc line 1372

function GetGid: LongInt;

Description

Get the real group ID of the currently running process.

Errors

None.

See also

GetEGid

  

Return effective group ID

Example

Program Example18;

{ Program to demonstrate the GetGid and GetEGid functions. }

Uses oldlinux;

begin
 writeln ('Group Id = ',getgid,' Effective group Id = ',getegid);
end.