gethostid(2)
NAME
gethostid, sethostid − get/set unique identifier of current host
SYNTAX
long hostid = gethostid()
int sethostid(hostid)
int hostid;
DESCRIPTION
The sethostid system call establishes a unique 32-bit identifier that normally serves as the DARPA Internet address for the current processor, a local UNIX machine.
The gethostid system call returns the 32-bit identifier for the current processor.
RESTRICTIONS
The sethostid call is allowed only to the superuser and normally is performed at boot time.