getHostname()
Returns the name of the current host as a string.
Synopsis
string getHostname();
Parameters
Parameter | Description |
---|---|
none | - |
Return value
The function returns the host names as a string.
Error
Description
Returns the host name. The host name is always returned without domain!
Example
main()
{
DebugN("You are ",getHostname());
}
Assignment
Miscellaneous functions
Availability
CTRL