GETHOSTID(2) UNIX Programmer's Manual GETHOSTID(2) NAME gethostid, sethostid - get/set unique identifier of current host SYNOPSIS hostid = gethostid() long hostid; sethostid(hostid) long hostid; DESCRIPTION Sethostid 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. Gethostid returns the 32-bit identifier for the current pro- cessor. SEE ALSO hostid(1), gethostname(2) BUGS 32 bits for the identifier is too small. Printed 11/26/99 November 28, 1985 1