gethostid - get an identifier for the current host
#include <unistd.h> long gethostid(void);
The gethostid() function retrieves a 32-bit identifier for the current host.
Upon successful completion, gethostid() returns an identifier for the current host.
No errors are defined.
None.
The Open Group does not define the domain in which the return value is unique.
None.
random(), <unistd.h>.