4.3BSD-Reno/share/man/cat2/sethostid.0

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




GETHOSTID(2)		      1990		     GETHOSTID(2)



NNAAMMEE
     gethostid, sethostid - get/set unique identifier of current
     host

SSYYNNOOPPSSIISS
     hhoossttiidd == ggeetthhoossttiidd(())
     lloonngg hhoossttiidd;;

     sseetthhoossttiidd((hhoossttiidd))
     lloonngg hhoossttiidd;;

DDEESSCCRRIIPPTTIIOONN
     _S_e_t_h_o_s_t_i_d establishes a 32-bit identifier for the current
     processor that is intended to be unique among all UNIX sys-
     tems in existence.  This is normally a DARPA Internet
     address for the local machine.  This call is allowed only to
     the super-user and is normally performed at boot time.

     _G_e_t_h_o_s_t_i_d returns the 32-bit identifier for the current pro-
     cessor.

SSEEEE AALLSSOO
     hostid(1), gethostname(2)

BBUUGGSS
     32 bits for the identifier is too small.





























Printed 7/27/90               June				1