Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

(sunos section 3c)
man page for gethostid

gethostid(3C)						   Standard C Library Functions 					     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 attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
hostid(1), sysinfo(2), attributes(5), standards(5) SunOS 5.10 24 Jul 2002 gethostid(3C)

Featured Tech Videos