gethostid(2)
gethostid, sethostid - get/set unique identifier of current host
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME gethostid, sethostid - get/set unique identifier of current host C SYNOPSIS #include <unistd.h> int gethostid (void); int sethostid (int hostid); DESCRIPTION Sethostid establishes a 32-bit identifier for the current host that is intended to be unique among all UNIX systems in existence. This 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. Gethostid returns the 32-bit identifier for the current host. SEE ALSO hostid(1), gethostname(2)