[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return host name
Source position: oldlinux.pp line 1473
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.
|
Return current domain name |
Program Example40; { Program to demonstrate the GetHostName function. } Uses oldlinux; begin Writeln ('Name of this machine is : ',GetHostName); end.
lazarus-ccr.sourceforge.net |