gethostid(3C)
gethostid --
get an identifier for the current host
Synopsis
#include <unistd.h>
long gethostid(void);
Description
The gethostid function retrieves a 32-bit identifier for
the current host.
Return value
Upon successful completion, gethostid returns an identifier
for the current host.
The domain over which this number is unique is unspecified.
References
sysinfo(2)
Standards conformance
This routine conforms to X/Open System Interfaces and Headers,
Issue 4, Version 2.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004