Query: gethostid
OS: ultrix
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
gethostid(2) System Calls Manual gethostid(2) Name gethostid, sethostid - get or set the unique identifier of the current host Syntax hostid = gethostid() int hostid; sethostid(hostid) int hostid; Description The system call establishes a 32-bit identifier for the current processor that is intended to be unique among all UNIX systems in exis- tence. This is normally a DARPA Internet address for the local machine. This call is allowed only to the superuser and is normally per- formed at boot time. Return Values The system call returns the 32-bit identifier for the current processor. See Also hostid(1), gethostname(2) gethostid(2)
Related Man Pages |
---|
gethostid(3) - debian |
sethostid(3) - centos |
gethostid(3) - suse |
gethostid(3) - opendarwin |
gethostid(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
Get ip address |
Creating a Unique ID on distributed systems |
Change Solaris hostid |