pike.hubbe.net

[Top]
system
previoussystem.gethostbyname() system.GetNamedSecurityInfo()next

Method system.gethostname()


Method gethostname

string system.gethostname()

Description

Returns a string with the name of the host.

Note

This function only exists on systems that have the gethostname(2) or uname(2) system calls.


Extracted from Pike v7.3 release 11 at 2001-11-03.