GETHOSTID(2) — Kubota Pacfic Computer Inc.
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 systems 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 processor.
SEE ALSO
BUGS
32 bits for the identifier is too small.
September 02, 1992