Query: gethostid
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
gethostid(3C) Standard C Library Functions gethostid(3C)NAMEgethostid - get an identifier for the current hostSYNOPSIS#include <unistd.h> long gethostid(void);DESCRIPTIONThe 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.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOhostid(1), sysinfo(2), attributes(5), standards(5) SunOS 5.10 24 Jul 2002 gethostid(3C)
Related Man Pages |
---|
gethostid(2) - redhat |
sethostid(3) - linux |
gethostid(3) - minix |
gethostid(3) - xfree86 |
gethostid(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
Get ip address |
Creating a Unique ID on distributed systems |
Change Solaris hostid |