hostnm - get name of current host
integer function hostnm (name) character*(*) name
This function puts the name of the current host into charac- ter string name. The return value should be 0; any other value indicates an error.
libfui.a
gethostname(3c)