4.4BSD/usr/share/man/cat3f/hostnm.0

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

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



HOSTNM(3F)             BSD Reference Manual            HOSTNM(3F)

mer's Manual
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 char-
       acter  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)




































4.2 Berkeley Distribution  June 5, 1993                         1