%gethostname() function

The %gethostname() function retrieves the standard host name for the local computer.

See your host OS documentation for more information on this function.