HOSTNM(3F) UNIX Programmer's Manual HOSTNM(3F) NNAAMMEE hostnm - get name of current host SSYYNNOOPPSSIISS iinntteeggeerr ffuunnccttiioonn hhoossttnnmm ((nnaammee)) cchhaarraacctteerr**((**)) nnaammee DDEESSCCRRIIPPTTIIOONN 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. FFIILLEESS /usr/lib/libU77.a SSEEEE AALLSSOO gethostname(2) Printed 7/9/88 May 15, 1985 1