Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

hostnm(3F)

Name

hostnm - get name of current host

Synopsis

integer function hostnm (name)
character*(*) name

Description

This function puts the name of the current host into character string name. The return value should be 0; any other value indicates an error.

Files

libfui.a

See also

gethostname(3C)