gethostid(2N) gethostid(2N)NAME gethostid, sethostid - get/set unique identifier of current host SYNOPSIS int gethostid() int sethostid(hostid) int hostid; DESCRIPTION sethostid establishes a 32-bit identifier for the current processor. This identifier is intended to be unique among all systems in existence and is normally a DARPA Internet address for the local machine. This call is allowed only to the superuser and is normally performed at boot time. STATUS MESSAGES AND VALUES The gethostid command returns the 32-bit identifier for the current processor. The sethostid command returns zero upon successful completion and -1 upon error. LIMITATIONS 32 bits for the identifier is too small. SEE ALSO hostid(1N), gethostname(2N) January 1992 1