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

GetGid

Return real group ID

Declaration

Source position: oldlinux.pp 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.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.