[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return current domain name
Source position: unix.pp line 123
function GetDomainName: string; |
Get the domain name of the machine on which the process is running. An empty string is returned if the domain is not set.
None.
|
Return host name |
Program Example39; { Program to demonstrate the GetDomainName function. } Uses Unix; begin Writeln ('Domain name of this machine is : ',GetDomainName); end.