4.3BSD-Tahoe/usr/man/cat3f/hostnm.0

Compare this file to the similar file:
Show the results in this format:




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