2.9BSD/usr/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(3)

Printed 7/31/83                                                 1