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. RETURN VALUE gethostid returns the 32-bit identifier for the current pro- cessor. sethostid returns zero upon successful completion and -1 upon error. SEE ALSO hostid(1N), gethostname(2N). BUGS 32 bits for the identifier is too small. April, 1990 1