hostnm(3f)

Name
hostnm - get name of current host

Syntax
integer hostnm, err
character* len name
external hostnm
err = hostnm ( 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
libU77.a

See Also
gethostname(2), uname(2)