next up previous contents index
Next: GetHostName Up: Functions and procedures Previous: GetFS

GetGid

   

Declaration:

Function GetGid : Longint;

Description:

Get the real group ID of the currently running process.

Errors:

None.

See also:

GetEGid, getgid (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