4.3BSD-UWisc/man/cat3/hostnm.3f




HOSTNM(3F)          UNIX Programmer's Manual           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 charac-
     ter string _n_a_m_e.  The return value should be 0; any other
     value indicates an error.

FILES
     /usr/lib/libU77.a

SEE ALSO
     gethostname(2)






































Printed 12/27/86          May 15, 1985                          1