next up previous contents index
Next: GetEUid Up: Functions and procedures Previous: GetDomainName

GetEGid

   

Declaration:

Function GetEGid : Longint;

Description:

Get the effective group ID of the currently running process.

Errors:

None.

See also:

GetGid, getegid (2)

Example
Program Example18;

{ Program to demonstrate the GetGid and GetEGid functions. }

Uses linux;

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



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998