gethostid(3C)
NAME
gethostid - get an identifier for the current host
SYNOPSIS
#include <unistd.h>
long gethostid(void);
DESCRIPTION
The gethostid() function returns the 32-bit identifier for
the current host. This identifier is taken from the CPU
board's ID PROM. It is not guaranteed to be unique.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
hostid(1), sysinfo(2), attributes(5)
Man(1) output converted with
man2html