gethostid(2) DG/UX 5.4R3.00 gethostid(2)
NAME
gethostid - get unique identifier of current host
SYNOPSIS
#include <unistd.h>
long gethostid ()
DESCRIPTION
Gethostid returns the 32-bit identifier for the host system.
Calling gethostid before calling sethostid produces undefined
results.
ACCESS CONTROL
None. (Call always succeeds.)
RETURN VALUE
hostid Completed successfully.
DIAGNOSTICS
None.
SEE ALSO
getdomainname(2), gethostname(2), sethostid(2).
Licensed material--property of copyright holder(s) 1