Sign in Join
FPDoc Onlineexperiment

GetDomainName function deprecated

In unit Unix

Return current domain name.

Declaration

pascal
function GetDomainName: string

Description

Get the domain name of the machine on which the process is running. An empty string is returned if the domain is not set.

Errors

None.

See also

Example: ex39

pascal
Program Example39;

{ Program to demonstrate the GetDomainName function. }

Uses Unix;

begin
  Writeln ('Domain name of this machine is : ',GetDomainName);
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.