gethostname

 string gethostname ( void ) 

説明

gethostname() gets the standard host name for the local machine.

戻り値

Returns a string with the hostname on success, otherwise FALSE is returned.