Function GetHostName : String;
Get the hostname of the machine on which the process is running. An empty string is returned if hostname is not set.
None.
GetDomainName,seemGethostname2
Program Example40; { Program to demonstrate the GetHostName function. } Uses linux; begin Writeln ('Name of this machine is : ',GetHostName); end.